• 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

Revisão8f46d1aaa721b545209f97517c6fb964877cf702 (tree)
Hora2017-05-17 07:27:06
AutorSUEHIRO <supersuehiro@user...>
CommiterSUEHIRO

Mensagem de Log

bgctrl の type のところに大文字が含まれていると認識できないのを修正

Mudança Sumário

Diff

--- a/src/stage.go
+++ b/src/stage.go
@@ -350,7 +350,7 @@ func newBgCtrl() *bgCtrl {
350350 func (bgc *bgCtrl) read(is IniSection, idx int) {
351351 bgc.idx = idx
352352 xy := false
353- switch is["type"] {
353+ switch strings.ToLower(is["type"]) {
354354 case "anim":
355355 bgc._type = BT_Anim
356356 case "visible":