diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
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); |