X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fmain.c;fp=src%2Fgame_sp%2Fmain.c;h=a1fbe44aced5b5aa73472c8b6875d77bcebf5be1;hb=5a5ca477c9e938c8fdc728798efab02298fd8055;hp=1308353d0ba96f29ea7713681d4861f2fc299ab7;hpb=13ef501ab83974ff03258647540ebecad96e45ef;p=rocksndiamonds.git diff --git a/src/game_sp/main.c b/src/game_sp/main.c index 1308353d..a1fbe44a 100644 --- 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(); - 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]++; } + +int getRedDiskReleaseFlag_SP() +{ + return RedDiskReleaseFlag; +}