diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:42:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:42:26 -0300 |
commit | a10396f732af5c546bd933c0cb5ec90cff99cd28 (patch) | |
tree | 180fe8347664fec8cd5eaa3dd0716ffe978d8ae8 /src/emap | |
parent | b44fae571197a431997578b98f71427bcf24e82e (diff) | |
download | evol-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.c | 3 |
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; } |