From 640c66779d8da4baa8af6bd0fee2583ec2b6143c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 29 Jul 2013 15:09:31 -0300 Subject: Fixed Bug #7597 / Follow up b7171479a47490ff80bf04849f763158d6d96fac http://hercules.ws/board/tracker/issue-7597-server-crash/ Signed-off-by: shennetsind --- src/map/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/script.c') 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; } -- cgit v1.2.3-70-g09d2