project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m
changeset 5207 4c9ae0f484da
parent 4976 088d40d8aba2
child 6078 8c0cc07731e5
--- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Wed May 11 01:26:38 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Thu May 12 23:00:26 2011 +0200
@@ -197,7 +197,7 @@
     [self setTitle:nil forState:UIControlStateNormal];
     
     // don't display preview on slower device, too slow and memory hog
-    if (IS_NOT_POWERFUL()) {
+    if (IS_NOT_POWERFUL(getModelType())) {
         [self setTitle:NSLocalizedString(@"Preview not available",@"") forState:UIControlStateNormal];
         [self turnOnWidgets];
     } else {