From f2cd452d100ef7458d2d492193c85b57c4d6cc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20Mu=CC=88ller?= Date: Sat, 20 Aug 2011 18:44:21 +0200 Subject: [PATCH] try to get the image crash handled --- src/Functions.pbi | 2 +- src/Main.pb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Functions.pbi b/src/Functions.pbi index acaf932..3f879de 100644 --- a/src/Functions.pbi +++ b/src/Functions.pbi @@ -6,7 +6,7 @@ UsePNGImageDecoder() Procedure InitTileset() - LoadSprite(#Tile01, DataPath+"gfx/tileset01.png") + LoadSprite(#Tile01, DataPath+"gfx/tileset01.bmp") ;ClipSprite(#Tile01, 0, 0, 16, 16) EndProcedure diff --git a/src/Main.pb b/src/Main.pb index 8b2a1ca..0d7ad20 100644 --- a/src/Main.pb +++ b/src/Main.pb @@ -98,7 +98,7 @@ If OpenWindow(0, 0, 0, Screen\Width, Screen\Height, title, #PB_Window_ScreenCent EndIf EndIf - Debug CurrentState + ; Debug CurrentState ; Handle the events for the current state GameStates(CurrentState)\HandleEventFun()