OSDN Git Service

ステータス決定のスクリプト追加、実戦にもセーブデータにも対応
[awarsiii/AwarsIV.git] / Awars III / CommandView.m
index c6cf5b0..01b0164 100755 (executable)
@@ -31,6 +31,8 @@
         NSRect seRect;
         seRect.size.height = 1*32;
         seRect.size.width = 1*32;
+        
+        CommandViewInst = self;
     }
     
     return self;
@@ -92,7 +94,8 @@
     [self DrawImage:chip3 x:0 y:1*32 cx:1 cy:0];
     [self DrawImage:chip4 x:0 y:2*32 cx:2 cy:0];
     
-    if(CommandSelected) [self DrawImage:chip5 x:0 y:SLCy*32 cx:0 cy:0];
+    if(CommandSelected)
+        [self DrawImage:chip5 x:0 y:SLCy*32 cx:0 cy:0];
 }
 
 @end