diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-06 01:30:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-06 01:30:04 +0300 |
commit | 7a2d595785a61ec874ddc566e0d999495684c2aa (patch) | |
tree | c0b6d8b0137e002eb4847d8ead44562264ad1e18 /src/localplayer.cpp | |
parent | 2d452dd8faf2529fda01913b0ab26f4a1f22ef3d (diff) | |
download | mv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.gz mv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.bz2 mv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.xz mv-7a2d595785a61ec874ddc566e0d999495684c2aa.zip |
Add gm commands to chat autocomplete list (only for gms)
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index cbf75a5f9..c83082a44 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -397,7 +397,11 @@ void LocalPlayer::setGMLevel(int level) mGMLevel = level; if (level > 0) + { setGM(true); + if (chatWindow) + chatWindow->loadGMCommands(); + } } |