Skip to content

Commit

Permalink
Fix #38 - Crash when restoring a game saved on Level 13
Browse files Browse the repository at this point in the history
  • Loading branch information
lvcabral committed Jun 23, 2016
1 parent 021bdc4 commit 4070b2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/charMouse.brs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
' ********************************************************************************************************
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
' ** Created: February 2016
' ** Updated: May 2016
' ** Updated: June 2016
' **
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido
Expand Down Expand Up @@ -39,7 +39,7 @@ Function CreateMouse(level as object, room as integer, position as integer, face
this.haveSword = false
this.meet = false
this.visible = true

this.baseX = level.rooms[room].x * this.const.ROOM_WIDTH
this.baseY = level.rooms[room].y * this.const.ROOM_HEIGHT

Expand Down
1 change: 1 addition & 0 deletions source/gameScreen.brs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Function PlayGame() as boolean
m.blink = false
m.flash = false
m.gameOver = false
m.showTime = false
m.timeShown = 0
m.finalTime = 0
'Game Loop
Expand Down
2 changes: 1 addition & 1 deletion source/gameSound.brs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
' **
' ** Created: February 2016
' ** Updated: May 2016
' ** Updated: June 2016
' **
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido
Expand Down
2 changes: 1 addition & 1 deletion source/tileGate.brs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
' **
' ** Created: February 2016
' ** Updated: May 2016
' ** Updated: June 2016
' **
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido
Expand Down
2 changes: 1 addition & 1 deletion source/tileSlicer.brs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
' **
' ** Created: February 2016
' ** Updated: May 2016
' ** Updated: June 2016
' **
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido
Expand Down

0 comments on commit 4070b2f

Please sign in to comment.