summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-01 08:14:47 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-01 08:14:47 +0000
commit6b1e40e08d0d42abad80cc8bad1b848091bf0b30 (patch)
tree73066f776fe1da7ffd7d967fed365e342f54c763 /src/map/clif.c
parent243405af6a72368e732566b2d9f50b7d5214251c (diff)
downloadhercules-6b1e40e08d0d42abad80cc8bad1b848091bf0b30.tar.gz
hercules-6b1e40e08d0d42abad80cc8bad1b848091bf0b30.tar.bz2
hercules-6b1e40e08d0d42abad80cc8bad1b848091bf0b30.tar.xz
hercules-6b1e40e08d0d42abad80cc8bad1b848091bf0b30.zip
Added Ai4rei's "gm can view all players' equips" feature (topic:186519).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5b9b3cfc1..5f807a86f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12158,7 +12158,7 @@ void clif_parse_ViewPlayerEquip(int fd, struct map_session_data* sd)
if (!tsd)
return;
- if( tsd->status.show_equip )
+ if( tsd->status.show_equip || (battle_config.gm_viewequip_min_lv && pc_isGM(sd) >= battle_config.gm_viewequip_min_lv) )
clif_viewequip_ack(sd, tsd);
else
clif_viewequip_fail(sd);