summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:42:26 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:42:26 -0300
commita10396f732af5c546bd933c0cb5ec90cff99cd28 (patch)
tree180fe8347664fec8cd5eaa3dd0716ffe978d8ae8 /src/emap
parentb44fae571197a431997578b98f71427bcf24e82e (diff)
downloadevol-hercules-a10396f732af5c546bd933c0cb5ec90cff99cd28.tar.gz
evol-hercules-a10396f732af5c546bd933c0cb5ec90cff99cd28.tar.bz2
evol-hercules-a10396f732af5c546bd933c0cb5ec90cff99cd28.tar.xz
evol-hercules-a10396f732af5c546bd933c0cb5ec90cff99cd28.zip
Fix shiny tiny bugs
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/script_buildins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index e9a5140..275bfff 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -3287,7 +3287,8 @@ BUILDIN(resetrng)
BUILDIN(getskillname)
{
int skill_id = script_getnum(st, 2);
- script_pushstr(st, skill->get_desc(skill_id));
+ const char* name = skill->get_desc(skill_id);
+ script_pushstr(st, (char*)(name));
return true;
}