X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMurphy.c;h=886cd80bfccb3b9583a332241636d51a6158b2ea;hb=055b582fdcaeddfa6dbb240eb591ec61f37e21d3;hp=bfe6854a6264ffac33e667d0b9f2da128b2b6e5a;hpb=026c569fc47fbe95d8cb131442a4e04610f27f05;p=rocksndiamonds.git diff --git a/src/game_sp/Murphy.c b/src/game_sp/Murphy.c index bfe6854a..886cd80b 100644 --- a/src/game_sp/Murphy.c +++ b/src/game_sp/Murphy.c @@ -932,7 +932,12 @@ loc_g_6756: return subAnimateMurphy; #if 1 - printf("::: Murphy.c: !!!!!!!!!! LEVEL %d SOLVED !!!!!!!!!!\n", LevelNumber); + if (!game_sp_info.LevelSolved) + printf("::: Murphy.c: !!!!!!!!!! LEVEL %d SOLVED !!!!!!!!!!\n",LevelNumber); +#endif + +#if 0 + game_sp_info.LevelSolved = TRUE; #endif subSoundFXExit(); @@ -2333,8 +2338,14 @@ int subSpPortTest(int si) for (i = 0; i < cx; i++) { +#if 1 + /* this assumes that PortLocation is stored as big endian */ + bx = LInfo.SpecialPort[i].PortLocation; +#else + /* this assumes that PortLocation is stored as little endian */ bx = HighByte(LInfo.SpecialPort[i].PortLocation); MovHighByte(&bx, LowByte(LInfo.SpecialPort[i].PortLocation)); +#endif if (bx / 2 == si) {