projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100609-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
main.c
diff --git
a/src/game_sp/main.c
b/src/game_sp/main.c
index 1308353d0ba96f29ea7713681d4861f2fc299ab7..a1fbe44aced5b5aa73472c8b6875d77bcebf5be1 100644
(file)
--- a/
src/game_sp/main.c
+++ b/
src/game_sp/main.c
@@
-86,9
+86,15
@@
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
if (!warp_mode) /* do not redraw values in warp mode */
DrawGameDoorValues_SP();
if (!warp_mode) /* do not redraw values in warp mode */
DrawGameDoorValues_SP();
- CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] != fiMurphy);
+ CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] == fiMurphy,
+ HighByte(PlayField16[MurphyPosIndex]) == 0x2A);
for (x = DisplayMinX; x <= DisplayMaxX; x++)
for (y = DisplayMinY; y <= DisplayMaxY; y++)
GfxFrame[x][y]++;
}
for (x = DisplayMinX; x <= DisplayMaxX; x++)
for (y = DisplayMinY; y <= DisplayMaxY; y++)
GfxFrame[x][y]++;
}
+
+int getRedDiskReleaseFlag_SP()
+{
+ return RedDiskReleaseFlag;
+}