fixed bug with not mapping input actions to focussed player in team mode
authorHolger Schemel <info@artsoft.org>
Wed, 13 Feb 2019 00:02:09 +0000 (01:02 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 13 Feb 2019 00:02:09 +0000 (01:02 +0100)
src/game.c

index b68f6be..ed560da 100644 (file)
@@ -11471,7 +11471,7 @@ static void GameActionsExt(void)
       game.centered_player_nr != -1)
   {
     for (i = 0; i < MAX_PLAYERS; i++)
-      stored_player[i].effective_action =
+      stored_player[map_player_action[i]].effective_action =
        (i == game.centered_player_nr ? summarized_player_action : 0);
   }