Skip to content

Commit 4070b2f

Browse files
committed
Fix #38 - Crash when restoring a game saved on Level 13
1 parent 021bdc4 commit 4070b2f

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

source/charMouse.brs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
' ********************************************************************************************************
33
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
44
' ** Created: February 2016
5-
' ** Updated: May 2016
5+
' ** Updated: June 2016
66
' **
77
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
88
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido
@@ -39,7 +39,7 @@ Function CreateMouse(level as object, room as integer, position as integer, face
3939
this.haveSword = false
4040
this.meet = false
4141
this.visible = true
42-
42+
4343
this.baseX = level.rooms[room].x * this.const.ROOM_WIDTH
4444
this.baseY = level.rooms[room].y * this.const.ROOM_HEIGHT
4545

source/gameScreen.brs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Function PlayGame() as boolean
2828
m.blink = false
2929
m.flash = false
3030
m.gameOver = false
31+
m.showTime = false
3132
m.timeShown = 0
3233
m.finalTime = 0
3334
'Game Loop

source/gameSound.brs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
44
' **
55
' ** Created: February 2016
6-
' ** Updated: May 2016
6+
' ** Updated: June 2016
77
' **
88
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
99
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido

source/tileGate.brs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
44
' **
55
' ** Created: February 2016
6-
' ** Updated: May 2016
6+
' ** Updated: June 2016
77
' **
88
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
99
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido

source/tileSlicer.brs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' ** Roku Prince of Persia Channel - http://github.com/lvcabral/Prince-of-Persia-Roku
44
' **
55
' ** Created: February 2016
6-
' ** Updated: May 2016
6+
' ** Updated: June 2016
77
' **
88
' ** Ported to Brighscript by Marcelo Lv Cabral from the Git projects:
99
' ** https://github.com/ultrabolido/PrinceJS - HTML5 version by Ultrabolido

0 commit comments

Comments
 (0)