OSDN Git Service
(root)
/
awarsiii
/
AwarsIV.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a32e5fb
)
CPU戦闘ボタンバグしゅうせい
author
Killery
<Killery@kiritani-no-mac-mini.local>
Sat, 2 Jan 2016 03:23:18 +0000
(12:23 +0900)
committer
桐谷 諭史
<Killery@kiritani-no-Mac-mini.local>
Sat, 2 Jan 2016 03:23:18 +0000
(12:23 +0900)
Awars III/FieldScene.m
patch
|
blob
|
history
diff --git
a/Awars III/FieldScene.m
b/Awars III/FieldScene.m
index
476da05
..
7feb5f7
100755
(executable)
--- a/
Awars III/FieldScene.m
+++ b/
Awars III/FieldScene.m
@@
-1921,6
+1921,26
@@
U = UTop;
}
U = UTop;
}
+
+ if(unitBreak){
+ if(unitBreak->team == 2 && MF[MFselectedRow+1].MS.playerSet2 == 2){
+ unitBreak->CPU = true;
+ cpuAImodeflag = true;
+ //NSLog(@"OMFG");
+ }else if(unitBreak->team == 0 && MF[MFselectedRow+1].MS.playerSet1 == 2){
+ unitBreak->CPU = true;
+ cpuAImodeflag = true;
+ //NSLog(@"OMFG");
+ }else if(unitBreak->team == 1){
+ unitBreak->CPU = true;
+ cpuAImodeflag = true;
+ //NSLog(@"OMFG");
+ }
+ else{
+ unitBreak->CPU = false;
+ cpuAImodeflag = false;
+ }
+ }
if(unitMoveEndFlag){
pussyLoopFlag = false;
}
if(unitMoveEndFlag){
pussyLoopFlag = false;
}
@@
-2250,27
+2270,6
@@
battleSetUpIgnore = false;
}
w000p:
battleSetUpIgnore = false;
}
w000p:
-
- if(!unitBreak)
- return;
-
- if(unitBreak->team == 2 && MF[MFselectedRow+1].MS.playerSet2 == 2){
- unitBreak->CPU = true;
- cpuAImodeflag = true;
- //NSLog(@"OMFG");
- }else if(unitBreak->team == 0 && MF[MFselectedRow+1].MS.playerSet1 == 2){
- unitBreak->CPU = true;
- cpuAImodeflag = true;
- //NSLog(@"OMFG");
- }else if(unitBreak->team == 1){
- unitBreak->CPU = true;
- cpuAImodeflag = true;
- //NSLog(@"OMFG");
- }
- else{
- unitBreak->CPU = false;
- cpuAImodeflag = false;
- }
if(CPUAttackSubmitFlag){
battleFlag = true;
if(CPUAttackSubmitFlag){
battleFlag = true;