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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 6b051dba0..ea8e26c23 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -14828,6 +14828,7 @@ BUILDIN_FUNC(setcell)
*------------------------------------------*/
BUILDIN_FUNC(mercenary_create)
{
+#ifndef TXT_ONLY
struct map_session_data *sd;
int class_, contract_time;
@@ -14841,7 +14842,7 @@ BUILDIN_FUNC(mercenary_create)
contract_time = script_getnum(st,3);
merc_create(sd, class_, contract_time);
-
+#endif
return 0;
}