removed unused function
authorHolger Schemel <info@artsoft.org>
Sat, 10 Jul 2021 11:16:02 +0000 (13:16 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 10 Jul 2021 11:16:02 +0000 (13:16 +0200)
src/game.c

index 7e8f0baec9e01db75ca00cf6401edf0ac18ff8a5..2535720ae6a4af3b9ab39825e58b344802e2dce5 100644 (file)
@@ -16186,19 +16186,6 @@ static void UnmapGameButtonsAtSamePosition_All(void)
   }
 }
 
-static void MapGameButtonsAtSamePosition(int id)
-{
-  int i;
-
-  for (i = 0; i < NUM_GAME_BUTTONS; i++)
-    if (i != id &&
-       gamebutton_info[i].pos->x == gamebutton_info[id].pos->x &&
-       gamebutton_info[i].pos->y == gamebutton_info[id].pos->y)
-      MapGadget(game_gadget[i]);
-
-  UnmapGameButtonsAtSamePosition_All();
-}
-
 void MapLoadSaveButtons(void)
 {
   UnmapGameButtonsAtSamePosition(GAME_CTRL_ID_LOAD);