Go で書き直した Ikemen
Revision | bf561a4e9c3694dcbdfebeaf8075a56107b0a81b (tree) |
---|---|
Time | 2017-03-20 18:31:15 |
Author | SUEHIRO <supersuehiro@user...> |
Commiter | SUEHIRO |
bindtoroot などがヒットポーズ中無効になるのを修正
@@ -4071,13 +4071,13 @@ func (c *Char) update(cvmin, cvmax, | ||
4071 | 4071 | c.destroy() |
4072 | 4072 | return |
4073 | 4073 | } |
4074 | + if !c.pause() && !c.isBound() { | |
4075 | + c.bind() | |
4076 | + } | |
4074 | 4077 | if c.acttmp > 0 { |
4075 | 4078 | if c.anim != nil { |
4076 | 4079 | c.anim.UpdateSprite() |
4077 | 4080 | } |
4078 | - if !c.isBound() { | |
4079 | - c.bind() | |
4080 | - } | |
4081 | 4081 | if c.ss.moveType == MT_H { |
4082 | 4082 | if c.ghv.xoff != 0 { |
4083 | 4083 | c.setPosX(c.pos[0] + c.ghv.xoff) |