summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-05-06 12:57:17 -0500
committerWushin <pasekei@gmail.com>2015-05-06 12:57:17 -0500
commit429109175adfcdc521eaacd1cbf66ced0bf2029d (patch)
tree998018e4e0634df7dfcdb6d49d7763dc595f51a5 /src/map/clif.cpp
parentd3b4318ff1af4c42dab40c5b915984988e71016b (diff)
parent46e503a063783c8cd5a701615168e89a1992b5dc (diff)
downloadtmwa-429109175adfcdc521eaacd1cbf66ced0bf2029d.tar.gz
tmwa-429109175adfcdc521eaacd1cbf66ced0bf2029d.tar.bz2
tmwa-429109175adfcdc521eaacd1cbf66ced0bf2029d.tar.xz
tmwa-429109175adfcdc521eaacd1cbf66ced0bf2029d.zip
Merge pull request #78 from mekolat/32767
npc -1 => 32767
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r--src/map/clif.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index e3cd55f..2c65d44 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -901,7 +901,7 @@ int clif_spawnnpc(dumb_ptr<npc_data> nd)
{
nullpo_retz(nd);
- if (nd->npc_class == NEGATIVE_SPECIES || nd->flag & 1 || nd->npc_class == INVISIBLE_CLASS)
+ if (nd->flag & 1 || nd->npc_class == INVISIBLE_CLASS)
return 0;
Packet_Fixed<0x007c> fixed_7c;
@@ -2320,7 +2320,7 @@ void clif_getareachar_npc(dumb_ptr<map_session_data> sd, dumb_ptr<npc_data> nd)
nullpo_retv(sd);
nullpo_retv(nd);
- if (nd->npc_class == NEGATIVE_SPECIES || nd->flag & 1 || nd->npc_class == INVISIBLE_CLASS)
+ if (nd->flag & 1 || nd->npc_class == INVISIBLE_CLASS)
return;
Buffer buf;