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.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 7a39af029..d4d0fd45d 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4350,21 +4350,6 @@ static int mob_readdb_race(void)
return 0;
}
-void mob_reload(void)
-{
-#ifndef TXT_ONLY
- if(db_use_sqldbs)
- mob_read_sqldb();
- else
-#endif /* TXT_ONLY */
- mob_readdb();
-
- mob_readdb_mobavail();
- mob_read_randommonster();
- mob_readskilldb();
- mob_readdb_race();
-}
-
#ifndef TXT_ONLY
/*==========================================
* SQL reading
@@ -4526,8 +4511,23 @@ static int mob_read_sqldb(void)
}
return 0;
}
-
#endif /* not TXT_ONLY */
+
+void mob_reload(void)
+{
+#ifndef TXT_ONLY
+ if(db_use_sqldbs)
+ mob_read_sqldb();
+ else
+#endif /* TXT_ONLY */
+ mob_readdb();
+
+ mob_readdb_mobavail();
+ mob_read_randommonster();
+ mob_readskilldb();
+ mob_readdb_race();
+}
+
/*==========================================
* Circumference initialization of mob
*------------------------------------------