summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-05-22 19:48:11 +0000
committerpeter1138 <peter1138@openttd.org>2007-05-22 19:48:11 +0000
commit2125b963871bee82d48cd9b684352e54ab2610ed (patch)
tree2f72d3272da86043ee08907353ec8e4e0d74b928 /src/command.h
parentb7748a686eca83d53eddf0be888e6f58eb12d054 (diff)
downloadopenttd-2125b963871bee82d48cd9b684352e54ab2610ed.tar.xz
(svn r9898) -Fix (r9874): Many...
- Group protection status wasn't changed via a command. - Group renaming didn't check group owner (and in fact changed the owner, just like renaming a sign...). - Added owner checks to other group commands. - Invalidate window data after the command has been completed instead of after the command has been sent. This fixes gui issues in network play.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index 4cf9844e3..0440466dc 100644
--- a/src/command.h
+++ b/src/command.h
@@ -149,6 +149,7 @@ enum {
CMD_ADD_VEHICLE_GROUP = 123,
CMD_ADD_SHARED_VEHICLE_GROUP = 124,
CMD_REMOVE_ALL_VEHICLES_GROUP = 125,
+ CMD_SET_GROUP_REPLACE_PROTECTION = 126,
};
enum {