prepared code to support more tape actions than players
[rocksndiamonds.git] / src / game.c
index 5d9e473b0d412d0cd976ff55ec44ece8308d33c5..e43739030777399cda01f06e2f86ef62833cd187 100644 (file)
@@ -11374,7 +11374,7 @@ static void GameActionsExt(void)
   unsigned int game_frame_delay_value;
   byte *recorded_player_action;
   byte summarized_player_action = 0;
-  byte tape_action[MAX_PLAYERS];
+  byte tape_action[MAX_TAPE_ACTIONS] = { 0 };
   int i;
 
   // detect endless loops, caused by custom element programming