still footbar can not draw

This commit is contained in:
cuu
2018-06-18 16:17:31 +08:00
parent 20ea392215
commit c9de67c78f
55 changed files with 3388 additions and 157 deletions

View File

@@ -46,7 +46,7 @@ func (self *IconPool) Init() {
}
func (self *IconPool) GetImgSurf(keyname string) *sdl.Surface {
if val,ok := self.Icons[keyname]; ok {
if _,ok := self.Icons[keyname]; ok {
return self.Icons[keyname]
} else {
return nil