summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-28 08:38:28 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-28 08:38:28 +0000
commite9d2315e89adb7610a67d610bb99fd78fd403c37 (patch)
tree55b9666e1a9c5e8739b36f9cdd3ace5576298e0d /src/map
parent382f0b77bf009b938e578286b1048ccf8038d443 (diff)
downloadhercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.gz
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.bz2
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.xz
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.zip
* Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries. * Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9c89943c8..5aeb91c0e 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11647,7 +11647,10 @@ BUILDIN_FUNC(strmobinfo)
if(!mobdb_checkid(class_))
{
- script_pushint(st,0);
+ if (num < 3) //requested a string
+ script_pushconststr(st,"");
+ else
+ script_pushint(st,0);
return 0;
}