From e9d2315e89adb7610a67d610bb99fd78fd403c37 Mon Sep 17 00:00:00 2001 From: euphyy Date: Fri, 28 Dec 2012 08:38:28 +0000 Subject: * 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 --- src/map/script.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2