summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 3b14bc6a7..56a9f1961 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3752,7 +3752,7 @@ static bool mob_readdb_mobavail(char* str[], int columns, int current)
}
else if(columns==3)
mob_db_data[class_]->vd.head_bottom=atoi(str[2]); // mob equipment [Valaris]
- else
+ else if( columns != 2 )
return false;
return true;
@@ -4246,7 +4246,7 @@ static void mob_load(void)
#endif /* TXT_ONLY */
mob_readdb();
- sv_readdb(db_path, "mob_avail.txt", ',', 3, 12, -1, &mob_readdb_mobavail);
+ sv_readdb(db_path, "mob_avail.txt", ',', 2, 12, -1, &mob_readdb_mobavail);
mob_read_randommonster();
mob_readchatdb();
mob_readskilldb();