Go で書き直した Ikemen
Revision | f98719692d174830cfaeef0c2be98d5c10a0d360 (tree) |
---|---|
Time | 2017-04-27 06:45:52 |
Author | SUEHIRO <supersuehiro@user...> |
Commiter | SUEHIRO |
p2facing ですでにその向きを向いていたときの処理を修正
@@ -4902,7 +4902,8 @@ func (cl *CharList) clsn(getter *Char, proj bool) { | ||
4902 | 4902 | getter.p1facing = byf |
4903 | 4903 | } else if hd.p2facing > 0 { |
4904 | 4904 | getter.p1facing = -byf |
4905 | - } else { | |
4905 | + } | |
4906 | + if getter.p1facing == getter.facing { | |
4906 | 4907 | getter.p1facing = 0 |
4907 | 4908 | } |
4908 | 4909 | if hd.p1stateno >= 0 && c.stateChange1(hd.p1stateno, hd.playerNo) { |