From 5b66f7a00e8f3868366cdf792ac15162267f6848 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Jul 2017 21:28:58 +0300 Subject: Show gm commands in popup menu based or player allowed gm commands. For legacy server aka tmwa, it allow all commands. --- src/resources/groupinfo.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/resources') 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 - } } -- cgit v1.2.3-60-g2f50