X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FZonk.c;h=b14af7eac5845d37788bf8f03c359b0fc07703d8;hb=ce0bba1a070e5e64939491eb68087f68ef8fe870;hp=d6a31acccd361beaff5cd0105d9d804ff3af97a6;hpb=b1750ae5f6404a4faacc38425e0b31c29ea12c37;p=rocksndiamonds.git diff --git a/src/game_sp/Zonk.c b/src/game_sp/Zonk.c index d6a31acc..b14af7ea 100644 --- a/src/game_sp/Zonk.c +++ b/src/game_sp/Zonk.c @@ -183,7 +183,12 @@ loc_g_0DE8: // zonk comes falling from above if (ax == fiOrangeDisk) // OrangeDisk explodes 'loc_g_0E95: goto loc_g_0F75; +#if 1 + // play the zonk sound, 'cause zonk hits something "hard" + subSoundFX(si, fiZonk, actImpact); +#else subSoundFXZonk(); // play the zonk sound,'cause zonk hits something "hard" +#endif if (! (ax == fiZonk || ax == fiInfotron || ax == fiRAM)) return subAnimateZonks; @@ -211,7 +216,7 @@ loc_g_0EEA: // test if zonk may roll left goto loc_g_0D4C; MovHighByte(&PlayField16[si], 0x50); // zonk rolls left - Mov(&PlayField16[si - 1], 0x8888); // mark as zonk accessing? + PlayField16[si - 1] = 0x8888; // mark as zonk accessing? return subAnimateZonks; loc_g_0F00: // test if zonk may roll right @@ -219,7 +224,7 @@ loc_g_0F00: // test if zonk may roll right return subAnimateZonks; MovHighByte(&PlayField16[si], 0x60); // zonk rolls right - Mov(&PlayField16[si + 1], 0x8888); // mark as zonk accessing? + PlayField16[si + 1] = 0x8888; // mark as zonk accessing? return subAnimateZonks; loc_g_0F14: // Murphy dies, but not in any case @@ -498,4 +503,3 @@ loc_g_16A7: return subCleanUpForZonksAbove; } // subCleanUpForZonksAbove -