summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStreusel <advance_me@hotmail.de>2013-04-11 01:08:30 -0700
committerStreusel <advance_me@hotmail.de>2013-04-11 01:08:30 -0700
commitceea72095205d44b0e6530eeb517f3d00329505f (patch)
tree12359c406a00b3bd485beea83fa5a865a0af9f2b /src
parent6cac0cccb956f34b7f1b8626e21a561bf168cffd (diff)
downloadhercules-ceea72095205d44b0e6530eeb517f3d00329505f.tar.gz
hercules-ceea72095205d44b0e6530eeb517f3d00329505f.tar.bz2
hercules-ceea72095205d44b0e6530eeb517f3d00329505f.tar.xz
hercules-ceea72095205d44b0e6530eeb517f3d00329505f.zip
-Support for newer NPC's
Diffstat (limited to 'src')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 424ff9312..c2351a836 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -91,7 +91,7 @@ enum actor_classes
#define MAX_NPC_CLASS 1000
//Checks if a given id is a valid npc id. [Skotlex]
//Since new npcs are added all the time, the max valid value is the one before the first mob (Scorpion = 1001)
-#define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 400 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS )
+#define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 400 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS || ( (id) > 10000 && (id) < 10049 ) )
#ifdef PCRE_SUPPORT
void npc_chat_finalize(struct npc_data* nd);