From: Holger Schemel Date: Sat, 10 Jul 2021 11:16:02 +0000 (+0200) Subject: removed unused function X-Git-Tag: 4.3.0.0~103 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7b08325f1948f30b1099ae5719d036a56cd0c60f;p=rocksndiamonds.git removed unused function --- diff --git a/src/game.c b/src/game.c index 7e8f0bae..2535720a 100644 --- a/src/game.c +++ b/src/game.c @@ -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);