try to get the image crash handled

This commit is contained in:
Ruben Müller 2011-08-20 18:44:21 +02:00
parent 0b6a963f34
commit f2cd452d10
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
UsePNGImageDecoder() UsePNGImageDecoder()
Procedure InitTileset() Procedure InitTileset()
LoadSprite(#Tile01, DataPath+"gfx/tileset01.png") LoadSprite(#Tile01, DataPath+"gfx/tileset01.bmp")
;ClipSprite(#Tile01, 0, 0, 16, 16) ;ClipSprite(#Tile01, 0, 0, 16, 16)
EndProcedure EndProcedure

View file

@ -98,7 +98,7 @@ If OpenWindow(0, 0, 0, Screen\Width, Screen\Height, title, #PB_Window_ScreenCent
EndIf EndIf
EndIf EndIf
Debug CurrentState ; Debug CurrentState
; Handle the events for the current state ; Handle the events for the current state
GameStates(CurrentState)\HandleEventFun() GameStates(CurrentState)\HandleEventFun()