--- a/hedgewars/uConsole.pas Sat Jul 31 10:52:43 2010 +0200
+++ b/hedgewars/uConsole.pas Sat Jul 31 11:24:53 2010 +0200
@@ -92,7 +92,7 @@
{$IFDEF DEBUGFILE}AddFileLog('Console write: ' + s);{$ENDIF}
Write(s);
done:= false;
-
+
while not done do
begin
Len:= cLineWidth - Length(ConsoleLines[CurrLine].s);
@@ -204,14 +204,14 @@
CurrLine:= 0;
Variables:= nil;
isDeveloperMode:= true;
-
+
// initConsole
cLineWidth:= cScreenWidth div 10;
if cLineWidth > 255 then
cLineWidth:= 255;
- for i:= 0 to Pred(cLinesCount) do
+ for i:= 0 to Pred(cLinesCount) do
PByte(@ConsoleLines[i])^:= 0;
-
+
RegisterVariable('proto' , vtCommand, @chCheckProto , true );
RegisterVariable('spectate', vtBoolean, @fastUntilLag , false);
RegisterVariable('capture' , vtCommand, @chCapture , true );