X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_sp%2FExplosions.c;h=e45ce791f4a95a417fd7a5ccc816fbf3bda20b9b;hb=c6d59064aa782b8ad71eddac2797fdc50e4858f9;hp=ccd75b8f48b99180c1853455f2d8e1382cbe2246;hpb=475d747d7f6122bf9b62ccf1518fc7e8fc0f201c;p=rocksndiamonds.git diff --git a/src/game_sp/Explosions.c b/src/game_sp/Explosions.c index ccd75b8f..e45ce791 100644 --- a/src/game_sp/Explosions.c +++ b/src/game_sp/Explosions.c @@ -43,7 +43,8 @@ void subAnimateExplosion(int si) if (bl == 8) { PlayField16[si] = 0; - ExplosionShake = 0; // nothing explodes + ExplosionShake = 0; // nothing explodes + // ExplosionShakeMurphy = 0; // nothing explodes // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ GfxGraphic[GetX(si)][GetY(si)] = aniSpace; @@ -57,7 +58,8 @@ loc_g_28D0: // explosion produces infotron if (bl == 0x89) { PlayField16[si] = fiInfotron; - MovLowByte(&ExplosionShake, 0); // nothing explodes + MovLowByte(&ExplosionShake, 0); // nothing explodes + // MovLowByte(&ExplosionShakeMurphy, 0); // nothing explodes // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ GfxGraphic[GetX(si)][GetY(si)] = aniInfotron; @@ -88,7 +90,8 @@ void ExplodeFieldSP(int si) if (ax == fiHardWare) return; - ExplosionShake = 1; // something explodes + ExplosionShake = 1; // something explodes + if (ax == fiMurphy) { #if 1 @@ -96,6 +99,10 @@ void ExplodeFieldSP(int si) #endif KillMurphyFlag = 1; + +#if 1 + ExplosionShakeMurphy = 30; // Murphy explodes +#endif } if (ax == fiElectron)