summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
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;
}