summaryrefslogtreecommitdiff
path: root/src/map/npc.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/npc.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/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;
// エリア判定