diff options
author | shennetsind <ind@henn.et> | 2013-07-29 15:09:31 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-29 15:09:31 -0300 |
commit | 640c66779d8da4baa8af6bd0fee2583ec2b6143c (patch) | |
tree | e9df09e06fd350b36b57e4fc8751db9432d0fdc9 /src/map/script.c | |
parent | 30cce75c040c211fccb0cf53f2ff572509b5a0aa (diff) | |
download | hercules-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.c | 4 |
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; } |