X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_sp%2FDoGameStuff.c;h=88434a90dbc64112c2f4b04002fbd5df2572d9b7;hb=3ff2e8a0b5c27b99a9920bdf5ed82bc41bf40181;hp=3bef36841c1bf6941f2757c8575fd624e7fa6b74;hpb=ce0bba1a070e5e64939491eb68087f68ef8fe870;p=rocksndiamonds.git diff --git a/src/game_sp/DoGameStuff.c b/src/game_sp/DoGameStuff.c index 3bef3684..88434a90 100644 --- a/src/game_sp/DoGameStuff.c +++ b/src/game_sp/DoGameStuff.c @@ -8,8 +8,8 @@ static void CallAnimation(int si, byte bl); static boolean IsToBeAnimated(int bl); -int *AnimationPosTable; -byte *AnimationSubTable; +int AnimationPosTable[SP_MAX_PLAYFIELD_SIZE]; +byte AnimationSubTable[SP_MAX_PLAYFIELD_SIZE]; // ========================================================================== @@ -70,19 +70,10 @@ void subDoGameStuff() !game_sp.LevelSolved && !game_sp.GameOver) { -#if 1 - printf("::: DoGameStuff.c: killing murphy [%d] ...\n", KillMurphyFlag); -#endif - KillMurphyFlag = 0; // no more "kill Murphy" ExplodeFieldSP(MurphyExplodePos); // Explode LeadOutCounter = 0x40; // quit: start lead-out -#if 1 - printf("::: DoGameStuff.c: !!!!!!!!!! GAME OVER !!!!!!!!!!\n"); - printf("::: [KillMurphyFlag == %d]\n", KillMurphyFlag); -#endif - /* give Murphy some more time (LeadOutCounter) to reach the exit */ } } // loc_g_22FB: