summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/elemental.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/elemental.c b/src/map/elemental.c
index be260a0b9..677ca5ec0 100644
--- a/src/map/elemental.c
+++ b/src/map/elemental.c
@@ -758,6 +758,9 @@ int read_elemental_skilldb(void) {
k++;
if( line[0] == '/' && line[1] == '/' )
continue;
+
+ if( line[0] == '\0' || line[0] == '\n' || line[0] == '\r')
+ continue;
i = 0;
p = strtok(line, ",");