summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 23:32:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 23:32:09 +0000
commitb19b2cd0e21bc0ce9d513469c4a575419aaf918e (patch)
tree54af6a7f57e0bed88d7ea3a503461bb99298f5d3 /src/map/mob.c
parentb857a6bdc74487633ea48305f71d9886ec25aabf (diff)
downloadhercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.gz
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.bz2
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.xz
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.zip
- Fixed status-change loading not working.
- Fixed permanent mob-spawn script-events not working. - AL_CURE won't confuse undead players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9187 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index ae742b617..36af27b17 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -177,7 +177,7 @@ int mob_parse_dataset(struct spawn_data *data) {
data->eventname[0] = '\0'; //Clear event as it is not used.
}
} else {
- if (data->eventname[i-1] == '"');
+ if (data->eventname[i-1] == '"')
data->eventname[i-1] = '\0'; //Remove trailing quote.
if (data->eventname[0] == '"') //Strip leading quotes
memmove(data->eventname, data->eventname+1, i-1);