projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added using GIC flags "request.button.player_X.draw_player"
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 351c36e43e820d421b7502cc08592265cb351c73..5fb84526d33c99386810b2fb5ebe1cfee6006b19 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-5896,7
+5896,8
@@
void CreateToolButtons(void)
}
}
- if (id >= TOOL_CTRL_ID_PLAYER_1 && id <= TOOL_CTRL_ID_PLAYER_4)
+ if (id >= TOOL_CTRL_ID_PLAYER_1 && id <= TOOL_CTRL_ID_PLAYER_4 &&
+ pos->draw_player)
{
int player_nr = id - TOOL_CTRL_ID_PLAYER_1;