diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-12 00:11:37 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-12 00:11:37 +0000 |
commit | 921cc4e94a7703816ff63e4f673eaa9d8a7da4ca (patch) | |
tree | 2a2c6834d0b034f560428a4c3abe47e5e2df1f44 /command.c | |
parent | f3b217db9dd377d2e8e5d28434cc01ffe5c23b3b (diff) | |
download | openttd-921cc4e94a7703816ff63e4f673eaa9d8a7da4ca.tar.xz |
(svn r2297) - CodeChange: server-check the next batch of commands.
- CodeChange: since only the server will be able to modify difficulty settings, leave the checking of correct values besides, and trust users will join legit servers.
- CodeChange: for renaming signs, only check if GetDParam(); eg _decode_parameters is empty ('\0') or not, instead of the extra check of players, etc. That basically does the same thing. Also dirty sign two times when renaming, once before, once after the action. Because if the name becomes shorter and you update only after, garbage remains on the screen.
- CodeChange: made GetMaskOfTownActions() available to the town-cmd to double-check if the action was available to the player. For this purpose the hardcoded _local_player has been removed from the function and is now passed as a parameter.
Diffstat (limited to 'command.c')
0 files changed, 0 insertions, 0 deletions