summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-10 02:16:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-10 02:16:49 +0300
commit068559d00381487ce8f4222ff5641cd66192a85a (patch)
tree5e668fa8fbfcfee8d8aa968fc8fc6c84a1d1703b
parentd90e0eb2f1b54b06cd7d4d1bbee3462889f5a7d0 (diff)
downloadevol-hercules-068559d00381487ce8f4222ff5641cd66192a85a.tar.gz
evol-hercules-068559d00381487ce8f4222ff5641cd66192a85a.tar.bz2
evol-hercules-068559d00381487ce8f4222ff5641cd66192a85a.tar.xz
evol-hercules-068559d00381487ce8f4222ff5641cd66192a85a.zip
fix compilation error.
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bbc2b52..1d0f036 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -61,5 +61,5 @@ BUILDIN(getLang)
BUILDIN(setLang)
{
getData();
- data->language = script_getint(st, 2);
+ data->language = script_getnum(st, 2);
}