summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-29 15:09:31 -0300
committershennetsind <ind@henn.et>2013-07-29 15:09:31 -0300
commit640c66779d8da4baa8af6bd0fee2583ec2b6143c (patch)
treee9df09e06fd350b36b57e4fc8751db9432d0fdc9 /src/map/script.c
parent30cce75c040c211fccb0cf53f2ff572509b5a0aa (diff)
downloadhercules-640c66779d8da4baa8af6bd0fee2583ec2b6143c.tar.gz
hercules-640c66779d8da4baa8af6bd0fee2583ec2b6143c.tar.bz2
hercules-640c66779d8da4baa8af6bd0fee2583ec2b6143c.tar.xz
hercules-640c66779d8da4baa8af6bd0fee2583ec2b6143c.zip
Fixed Bug #7597 / Follow up b7171479a47490ff80bf04849f763158d6d96fac
http://hercules.ws/board/tracker/issue-7597-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index e9a93918b..2a917236a 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -15396,11 +15396,11 @@ BUILDIN(mercenary_create)
class_ = script_getnum(st,2);
- if( !mercenary->merc_class(class_) )
+ if( !mercenary->class(class_) )
return true;
contract_time = script_getnum(st,3);
- mercenary->merc_create(sd, class_, contract_time);
+ mercenary->create(sd, class_, contract_time);
return true;
}