• 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

Revisioncff7d7c94bbd73cf5592101a0df47dfd649dd713 (tree)
Time2017-05-07 21:28:46
AuthorSUEHIRO <supersuehiro@user...>
CommiterSUEHIRO

Log Message

range に書き直し

Change Summary

Incremental Difference

--- a/src/script.go
+++ b/src/script.go
@@ -706,7 +706,7 @@ func systemScriptInit(l *lua.LState) {
706706 }
707707 sys.await(FPS)
708708 }
709- for i := 0; i < len(sys.cgi); i++ {
709+ for i := range sys.cgi {
710710 if i < len(sys.lifebar.fa[sys.tmode[i&1]]) {
711711 fa := sys.lifebar.fa[sys.tmode[i&1]][i]
712712 fa.face = sys.cgi[i].sff.getOwnPalSprite(