summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-01-05 21:35:48 +0100
committerHaruna <haru@dotalux.com>2015-01-05 21:35:48 +0100
commit095aaf5d3a6b108b59cb98b3c63ad836be65a4ed (patch)
tree4fa98033b59af09377134c77e1500138db078ae5 /src/map/script.c
parent3dc29e4a4ecdc2f474223461bd18d5beabcd9994 (diff)
parent046ed2c6e94bc3016351cadb6f4d792807acb63d (diff)
downloadhercules-095aaf5d3a6b108b59cb98b3c63ad836be65a4ed.tar.gz
hercules-095aaf5d3a6b108b59cb98b3c63ad836be65a4ed.tar.bz2
hercules-095aaf5d3a6b108b59cb98b3c63ad836be65a4ed.tar.xz
hercules-095aaf5d3a6b108b59cb98b3c63ad836be65a4ed.zip
Merge pull request #433 from 4144/viewdata
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