summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-20 21:47:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-20 21:47:38 +0300
commitbf79b543550529585ffb162799663fd3d7adc95b (patch)
tree4af19013f3f777a12541d3567838c9699f1c983a /src/map/script.c
parent72dbae9ff75d62d5c6406169515b8054e1d84362 (diff)
downloadevol-hercules-bf79b543550529585ffb162799663fd3d7adc95b.tar.gz
evol-hercules-bf79b543550529585ffb162799663fd3d7adc95b.tar.bz2
evol-hercules-bf79b543550529585ffb162799663fd3d7adc95b.tar.xz
evol-hercules-bf79b543550529585ffb162799663fd3d7adc95b.zip
Use format script function in 'l' script function.
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 3b09e88..7c53e8e 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -23,11 +23,11 @@
#include "map/send.h"
#include "map/session.h"
#include "map/sessionext.h"
+#include "map/utils/formatutils.h"
BUILDIN(l)
{
- // for now not translate and not use format parameters
- script_pushstr(st, aStrdup(script_getstr(st, 2)));
+ format_sub(st, 1);
return true;
}