diff options
author | dominik <dominik@openttd.org> | 2005-01-25 15:38:36 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2005-01-25 15:38:36 +0000 |
commit | d439221c62fb6dc95192c68659fd68e4a85f60a2 (patch) | |
tree | 7e95f59e35354d3577e4d77bd75a70d6b754d706 /main_gui.c | |
parent | 03ba24dd6548e4d96e6090f6d18b7dbfdbb96bd8 (diff) | |
download | openttd-d439221c62fb6dc95192c68659fd68e4a85f60a2.tar.xz |
(svn r1667) - Feature: Signs are now shown in the color of the player who created them
(Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index c5ba8073c..6deba6f1e 100644 --- a/main_gui.c +++ b/main_gui.c @@ -70,7 +70,7 @@ void HandleOnEditText(WindowEvent *e) { switch(_rename_what) { case 0: // for empty string send "remove sign" parameter - DoCommandP(0, id, (*b==0)?1:0, NULL, CMD_RENAME_SIGN | CMD_MSG(STR_280C_CAN_T_CHANGE_SIGN_NAME)); + DoCommandP(0, id, (*b==0)?OWNER_NONE:_current_player, NULL, CMD_RENAME_SIGN | CMD_MSG(STR_280C_CAN_T_CHANGE_SIGN_NAME)); break; case 1: if(*b == 0) |