hedgewars/uWorld.pas
changeset 10141 3be894730bd6
parent 10139 9046f69dae4c
child 10147 9a772dc5dfbe
--- a/hedgewars/uWorld.pas	Fri Feb 14 13:55:13 2014 +0400
+++ b/hedgewars/uWorld.pas	Sun Feb 16 16:56:53 2014 +0400
@@ -429,7 +429,7 @@
     AMRect: TSDL_Rect;
 {$IFDEF USE_AM_NUMCOLUMN}tmpsurf: PSDL_Surface;{$ENDIF}
 begin
-    if cOnlyStats then exit(false);
+    if cOnlyStats then exit(nil);
 
     SlotsNum:= 0;
     for i:= 0 to cMaxSlotIndex do