summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-04 23:30:22 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-04 23:30:22 +0000
commit50e22190fc9a611060489093c92bea39cfe9dd86 (patch)
treeb31e6ee71d1a1179f508412cb564dbc278bcb510 /src/map
parentde7bf7e5dd00141d28b227c0ce46f3ddd06242a7 (diff)
downloadhercules-50e22190fc9a611060489093c92bea39cfe9dd86.tar.gz
hercules-50e22190fc9a611060489093c92bea39cfe9dd86.tar.bz2
hercules-50e22190fc9a611060489093c92bea39cfe9dd86.tar.xz
hercules-50e22190fc9a611060489093c92bea39cfe9dd86.zip
Fixed waitingroom npcs from being displayed properly against maya p exploit protection
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15395 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d4f0c5c80..27c8bd06e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1221,7 +1221,7 @@ int clif_spawn(struct block_list *bl)
/**
* Hide NPC from maya puprle card.
**/
- if(bl->type == BL_NPC && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
+ if(bl->type == BL_NPC && !((TBL_NPC*)bl)->chat_id && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
return 0;
len = clif_set_unit_idle(bl, buf,true);
@@ -1482,7 +1482,7 @@ void clif_move(struct unit_data *ud)
/**
* Hide NPC from maya puprle card.
**/
- if(bl->type == BL_NPC && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
+ if(bl->type == BL_NPC && !((TBL_NPC*)bl)->chat_id && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
return;
if (ud->state.speed_changed) {
@@ -3811,7 +3811,7 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl)
/**
* Hide NPC from maya puprle card.
**/
- if(bl->type == BL_NPC && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
+ if(bl->type == BL_NPC && !((TBL_NPC*)bl)->chat_id && (((TBL_NPC*)bl)->sc.option&OPTION_INVISIBLE))
return;
ud = unit_bl2ud(bl);