hedgewars/uTextures.pas
changeset 6982 8d41d22a291d
parent 6700 e04da46ee43c
child 7080 dbf43c07a507
child 7151 ec15d9e1a7e3
--- a/hedgewars/uTextures.pas	Tue May 01 20:54:30 2012 +0400
+++ b/hedgewars/uTextures.pas	Tue May 01 19:56:55 2012 +0200
@@ -156,7 +156,7 @@
 
 fromP4:= Surf^.pixels;
 
-if cGrayScale then
+if GrayScale then
     Surface2GrayScale(Surf);
 
 if (not SupportNPOTT) and (not (isPowerOf2(Surf^.w) and isPowerOf2(Surf^.h))) then