diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-18 20:28:33 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-18 20:28:33 +0000 |
commit | 113ffc867c8553e2eb920d571235cdf9def57910 (patch) | |
tree | a0799ae20639ead15990c8f1c0c6c79049568816 /src/map/atcommand.c | |
parent | 300d96c92fdb6b7b7dbda2ac2f3f92d4f4913133 (diff) | |
download | hercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.gz hercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.bz2 hercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.xz hercules-113ffc867c8553e2eb920d571235cdf9def57910.zip |
- Now @whogm hides perfect-hide gms only if their GM level is greater than the one who invoked the command.
- Some minor cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10290 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b6fe0e20c..a0827fcf6 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1818,8 +1818,6 @@ int atcommand_whogm(const int fd, struct map_session_data* sd, const char* comma pl_GM_level = pc_isGM(pl_sd); if (!pl_GM_level) continue; - if (pl_sd->sc.option & OPTION_INVISIBLE) - continue; if (match_text[0]) { @@ -1831,6 +1829,8 @@ int atcommand_whogm(const int fd, struct map_session_data* sd, const char* comma continue; } if (pl_GM_level > GM_level) { + if (pl_sd->sc.option & OPTION_INVISIBLE) + continue; sprintf(atcmd_output, "Name: %s (GM)", pl_sd->status.name); clif_displaymessage(fd, atcmd_output); count++; |