summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-01 14:09:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-02 22:17:34 +0300
commit2b4df46f3962e7eff3b810669b4fcf114a673503 (patch)
tree9575b8e55dfea0a5acb0ab3dc05a19c9345ea045 /src/map/script.c
parent3dc29e4a4ecdc2f474223461bd18d5beabcd9994 (diff)
downloadhercules-2b4df46f3962e7eff3b810669b4fcf114a673503.tar.gz
hercules-2b4df46f3962e7eff3b810669b4fcf114a673503.tar.bz2
hercules-2b4df46f3962e7eff3b810669b4fcf114a673503.tar.xz
hercules-2b4df46f3962e7eff3b810669b4fcf114a673503.zip
Add npcdb_checkid to npc interface.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 3ed779fba..aca4650c5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -12488,7 +12488,7 @@ BUILDIN(disguise)
id = script_getnum(st,2);
- if (mob->db_checkid(id) || npcdb_checkid(id)) {
+ if (mob->db_checkid(id) || npc->db_checkid(id)) {
pc->disguise(sd, id);
script_pushint(st,id);
} else