projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e66c67
)
removed unused function
author
Holger Schemel
<info@artsoft.org>
Sat, 10 Jul 2021 11:16:02 +0000
(13:16 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 10 Jul 2021 11:16:02 +0000
(13:16 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 7e8f0baec9e01db75ca00cf6401edf0ac18ff8a5..2535720ae6a4af3b9ab39825e58b344802e2dce5 100644
(file)
--- 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);