summaryrefslogtreecommitdiff
path: root/src/map/npc.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/npc.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/npc.cpp')
-rw-r--r--src/map/npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.cpp b/src/map/npc.cpp
index 56c33cc..4296432 100644
--- a/src/map/npc.cpp
+++ b/src/map/npc.cpp
@@ -583,7 +583,7 @@ int npc_checknear(dumb_ptr<map_session_data> sd, BlockId id)
if (nd->bl_type != BL::NPC)
return 1;
- if (nd->npc_class == NEGATIVE_SPECIES)
+ if (nd->npc_class == INVISIBLE_CLASS)
return 0;
// エリア判定