• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Go で書き直した Ikemen


Commit MetaInfo

Revisionbf561a4e9c3694dcbdfebeaf8075a56107b0a81b (tree)
Time2017-03-20 18:31:15
AuthorSUEHIRO <supersuehiro@user...>
CommiterSUEHIRO

Log Message

bindtoroot などがヒットポーズ中無効になるのを修正

Change Summary

Incremental Difference

--- a/src/char.go
+++ b/src/char.go
@@ -4071,13 +4071,13 @@ func (c *Char) update(cvmin, cvmax,
40714071 c.destroy()
40724072 return
40734073 }
4074+ if !c.pause() && !c.isBound() {
4075+ c.bind()
4076+ }
40744077 if c.acttmp > 0 {
40754078 if c.anim != nil {
40764079 c.anim.UpdateSprite()
40774080 }
4078- if !c.isBound() {
4079- c.bind()
4080- }
40814081 if c.ss.moveType == MT_H {
40824082 if c.ghv.xoff != 0 {
40834083 c.setPosX(c.pos[0] + c.ghv.xoff)