hedgewars/uConsole.pas
changeset 688 e4d1fb310a66
parent 626 a30171dbcd19
child 771 86fbe8753a7c
--- a/hedgewars/uConsole.pas	Wed Dec 26 22:18:34 2007 +0000
+++ b/hedgewars/uConsole.pas	Sun Dec 30 15:24:02 2007 +0000
@@ -115,7 +115,7 @@
 SDL_FillRect(Surface, @r, cConsoleSplitterColor);
 for y:= 0 to cConsoleHeight div 256 + 1 do
     for x:= 0 to cScreenWidth div 256 + 1 do
-        DrawGear(sConsoleBG, x * 256, cConsoleHeight - 256 - y * 256, Surface);
+        DrawSprite(sprConsoleBG, x * 256, cConsoleHeight - 256 - y * 256, 0, Surface);
 for y:= 0 to cConsoleHeight div Fontz[fnt16].Height do
     DXOutText(4, cConsoleHeight - (y + 2) * (Fontz[fnt16].Height + 2), fnt16, ConsoleLines[(CurrLine - 1 - y + cLinesCount) mod cLinesCount], Surface);
 DXOutText(4, cConsoleHeight - Fontz[fnt16].Height - 2, fnt16, '> '+InputStr, Surface);