* fixed graphical bug which caused the player (being Murphy) to show
collecting animations although the element was collected by penguin
+2005-06-14
+ * fixed graphical bug which caused the player (being Murphy) to show
+ collecting animations although the element was collected by penguin
+
2005-06-08
* fixed two bugs causing wrong door background graphics in system.c
(in functions "SetBackgroundBitmap()" and "DrawingOnBackground()")
-#define COMPILE_DATE_STRING "[2005-06-08 02:17]"
+#define COMPILE_DATE_STRING "[2005-06-15 02:22]"
#define USE_GRAVITY_BUGFIX_NEW (TRUE * USE_NEW_STUFF * 1)
#define USE_GRAVITY_BUGFIX_OLD (TRUE * USE_NEW_STUFF * 0)
+#define USE_PENGUIN_COLLECT_BUG (TRUE * USE_NEW_STUFF * 1)
+
/* for DigField() */
#define DF_NO_PUSH 0
player->push_delay = 0;
#endif
- if (Feld[x][y] != element) /* really digged/collected something */
- player->is_collecting = !player->is_digging;
+#if USE_PENGUIN_COLLECT_BUG
+ if (is_player) /* function can also be called by EL_PENGUIN */
+#endif
+ {
+ if (Feld[x][y] != element) /* really digged/collected something */
+ player->is_collecting = !player->is_digging;
+ }
return MF_MOVING;
}