summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-02 15:28:58 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-02 16:54:00 -0400
commit46e503a063783c8cd5a701615168e89a1992b5dc (patch)
tree80bf34e40b06c487c7db75a6ed64cb7a8ce9fa28 /src/map/clif.cpp
parent477a8ce254ddd82bc2396f4abe341a2c66c85919 (diff)
downloadtmwa-46e503a063783c8cd5a701615168e89a1992b5dc.tar.gz
tmwa-46e503a063783c8cd5a701615168e89a1992b5dc.tar.bz2
tmwa-46e503a063783c8cd5a701615168e89a1992b5dc.tar.xz
tmwa-46e503a063783c8cd5a701615168e89a1992b5dc.zip
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;