hedgewars/uConsole.pas
changeset 841 0700e3d3474d
parent 787 5064d72fa0e2
child 866 ac6f6c95c23f
--- a/hedgewars/uConsole.pas	Sun Apr 13 12:33:16 2008 +0000
+++ b/hedgewars/uConsole.pas	Sun Apr 13 12:45:30 2008 +0000
@@ -147,7 +147,7 @@
 
 for y:= 0 to cConsoleHeight div 256 + 1 do
     for x:= 0 to cScreenWidth div 256 + 1 do
-        DrawSprite(sprConsoleBG, x * 256, cConsoleHeight - 256 - y * 256, 0, Surface);
+        DrawSprite(sprConsoleBG, x * 256, cConsoleHeight - 256 - y * 256, 0);
 
 for y:= 0 to cConsoleHeight div Fontz[fnt16].Height do
     DrawLine(ConsoleLines[(CurrLine - 1 - y + cLinesCount) mod cLinesCount], 4, cConsoleHeight - (y + 2) * (Fontz[fnt16].Height + 2));