summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 1b8a44b85..97592d32b 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4360,17 +4360,17 @@ static bool mob_readdb_race2(char* fields[], int columns, int current)
static void mob_load(void)
{
#ifndef TXT_ONLY
- if(db_use_sqldbs) {
+ if (db_use_sqldbs)
+ {
mob_read_sqldb();
mob_read_sqlskilldb();
- } else {
+ }
+ else
+#endif
+ {
mob_readdb();
mob_readskilldb();
}
-#else
- mob_readdb();
- mob_readskilldb();
-#endif /* TXT_ONLY */
sv_readdb(db_path, "mob_avail.txt", ',', 2, 12, -1, &mob_readdb_mobavail);
mob_read_randommonster();
mob_readchatdb();