diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-20 21:28:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-20 21:28:58 +0300 |
commit | 5b66f7a00e8f3868366cdf792ac15162267f6848 (patch) | |
tree | f60238e8817235d03a4ac46e875f55ba4f93c913 /src/resources/groupinfo.cpp | |
parent | 70e304a900be02a734b6ebe7517b81bbe786a79f (diff) | |
download | manaplus-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.gz manaplus-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.bz2 manaplus-5b66f7a00e8f3868366cdf792ac15162267f6848.tar.xz manaplus-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.cpp | 7 |
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 - } } |