summaryrefslogtreecommitdiff
path: root/src/resources/groupinfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-20 21:28:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-20 21:28:58 +0300
commit5b66f7a00e8f3868366cdf792ac15162267f6848 (patch)
treef60238e8817235d03a4ac46e875f55ba4f93c913 /src/resources/groupinfo.cpp
parent70e304a900be02a734b6ebe7517b81bbe786a79f (diff)
downloadmv-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.gz
mv-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.bz2
mv-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.xz
mv-5b66f7a00e8f3868366cdf792ac15162267f6848.zip
Show gm commands in popup menu based or player allowed gm commands.
For legacy server aka tmwa, it allow all commands.
Diffstat (limited to 'src/resources/groupinfo.cpp')
-rw-r--r--src/resources/groupinfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/groupinfo.cpp b/src/resources/groupinfo.cpp
index 95268d426..665bd6162 100644
--- a/src/resources/groupinfo.cpp
+++ b/src/resources/groupinfo.cpp
@@ -33,12 +33,5 @@ GroupInfo::GroupInfo() :
for (size_t f = 0; f < CAST_SIZE(ServerCommandType::Max); f ++)
mCommands[f] = ServerCommandEnable::No;
for (size_t f = 0; f < CAST_SIZE(ServerPermissionType::Max); f ++)
- {
-#ifdef TMWA_SUPPORT
- mPermissions[f] = Enable_true;
-#else // TMWA_SUPPORT
-
mPermissions[f] = Enable_false;
-#endif // TMWA_SUPPORT
- }
}