project_files/HedgewarsMobile/Classes/HWUtils.m
changeset 6262 32a032f1b178
parent 6247 6dfad55fd71c
child 6321 5a0416e5a6de
--- a/project_files/HedgewarsMobile/Classes/HWUtils.m	Wed Nov 02 16:31:16 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/HWUtils.m	Wed Nov 02 17:42:52 2011 +0100
@@ -134,8 +134,8 @@
 }
 
 +(void) releaseCache {
-    releaseAndNil(cachedModel);
-    releaseAndNil(cachedColors);
+    [cachedModel release], cachedModel = nil;
+    [cachedColors release], cachedColors = nil;
 }
 
 @end