diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-10-02 23:16:48 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-10-02 23:16:48 +0000 |
commit | 29051a64cb3e3e9099e754e574e4d12d8edbe7ff (patch) | |
tree | 85e2ec33b716802ec0c04045bb635ad382f60209 /designer.bmx | |
parent | 7ff4818c925a84230b5f5386fd90198f6419044a (diff) |
Development checkin
Diffstat (limited to 'designer.bmx')
-rw-r--r-- | designer.bmx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/designer.bmx b/designer.bmx index e5ded2c..a45034d 100644 --- a/designer.bmx +++ b/designer.bmx @@ -692,10 +692,11 @@ End Function Function TestCallback(w:TWidget) Designer.SaveLevel() Local g:TGame=TGame.Create(Designer.level) + Local res:Int=TGame.LEVEL_NOTOVER - While Not KeyHit(KEY_ESCAPE) + While res<>TGame.LEVEL_FINISHED And res<>TGame.LEVEL_CANCELLED Cls - g.Play() + res=g.Play() SetColor(255,255,255) DrawImage(GameGFX.pointer,MouseX(),MouseY()) FlushMem |