X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FDoGameStuff.c;h=7a7c1ac77919bfb0dc60bef1f6cc901e2999715d;hb=520916c89d7d96944bf3d66e3caa5afd840df74c;hp=88434a90dbc64112c2f4b04002fbd5df2572d9b7;hpb=3ff2e8a0b5c27b99a9920bdf5ed82bc41bf40181;p=rocksndiamonds.git diff --git a/src/game_sp/DoGameStuff.c b/src/game_sp/DoGameStuff.c index 88434a90..7a7c1ac7 100644 --- a/src/game_sp/DoGameStuff.c +++ b/src/game_sp/DoGameStuff.c @@ -20,9 +20,13 @@ byte AnimationSubTable[SP_MAX_PLAYFIELD_SIZE]; void subDoGameStuff() { int si, cx, dx, bl; + int InfotronsNeeded_last = InfotronsNeeded; subAnimateMurphy(&MurphyPosIndex); // move Murphy in any direction + if (InfotronsNeeded != InfotronsNeeded_last) + game.snapshot.collected_item = TRUE; + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Build a database of locations and subs-to-call of animatable fields only: // Make a snapshot from the field before the animation cycle starts.