hedgewars/uTextures.pas
changeset 8027 e5ba3dd12531
parent 7151 ec15d9e1a7e3
child 9080 9b42757d7e71
--- a/hedgewars/uTextures.pas	Wed Nov 14 22:08:40 2012 -0500
+++ b/hedgewars/uTextures.pas	Wed Nov 14 22:27:05 2012 -0500
@@ -126,6 +126,7 @@
     tmpp: pointer;
     fromP4, toP4: PLongWordArray;
 begin
+if cOnlyStats then exit(nil);
 new(Surface2Tex);
 Surface2Tex^.PrevTexture:= nil;
 Surface2Tex^.NextTexture:= nil;