project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 4151 08b95ec1bfdf
parent 4149 51200479f9d8
child 4208 dd54999c2822
--- a/project_files/HedgewarsMobile/Classes/GameSetup.m	Sat Nov 06 19:40:49 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m	Sat Nov 06 20:38:59 2010 +0100
@@ -187,7 +187,7 @@
 
     // support for endless games
     NSInteger tentativeTurntime = [[basicArray objectAtIndex:i] intValue];
-    if (tentativeTurntime == 100)
+    if (tentativeTurntime >= 100)
         tentativeTurntime = 9999;
     NSString *turnTime = [[NSString alloc] initWithFormat:@"e$turntime %d",tentativeTurntime * 1000];
     [self sendToEngine:turnTime];