summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
commitc9673032ff9fb5b5c1a223432181d60184685d5a (patch)
treeca0137610ba9d08093fce187996921067a9725d4 /src/emap/script.c
parent2114f859d5b1d6984809494870f5266f53d662c7 (diff)
downloadevol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.gz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.bz2
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.xz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.zip
Remove useless casts after server update.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index c60861d..e323e20 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -441,7 +441,7 @@ BUILDIN(restoreCam)
BUILDIN(npcTalk3)
{
- char *msg;
+ const char *msg;
getSD();
@@ -463,7 +463,7 @@ BUILDIN(npcTalk3)
}
if (sd)
- msg = (char*)lang_pctrans (nd->name, sd);
+ msg = lang_pctrans (nd->name, sd);
else
msg = nd->name;