OSDN Git Service

CPU戦のセーブ読み込み後のフリーズ改善
authorKillery <Killery@kiritani-no-mac-mini.local>
Fri, 22 Jul 2016 17:55:10 +0000 (02:55 +0900)
committerKillery <Killery@kiritani-no-Mac-mini.local>
Fri, 22 Jul 2016 17:55:10 +0000 (02:55 +0900)
Awars III/FieldScene.m

index eeca839..71f2931 100755 (executable)
         
         fieldScene = self;
         
-        P[0].name = @"青軍";
+        P[0].name = [@"青軍" retain];
         P[0].type = 0;
         P[0].resource = 500;
         P[0].food = 500;
         P[0].money = 500;
         
-        P[1].name = @"赤軍";
+        P[1].name = [@"赤軍" retain];
         P[1].type = 0;
         P[1].resource = 500;
         P[1].food = 500;
         P[1].money = 500;
         
-        P[2].name = @"黄軍";
+        P[2].name = [@"黄軍" retain];
         P[2].type = 0;
         P[2].resource = 500;
         P[2].food = 500;
@@ -3704,6 +3704,10 @@ ahhh:{}
         eventTime = 0;
         coolTime = true;
         
+        wtRdy = false;
+        wtRdy2 = false;
+        wtRdy3 = false;
+        
         //ここに進行したマップスクリプト値関数
         //NSLog(@"%d, %d", unitNum[0][0], MF[MFselectedRow].MS.playerSet1);
         [self setTargetListDat];