summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-23 04:23:22 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-23 04:23:22 +0000
commit77fa315a25b08c429758d109b08a67a6e6a52e50 (patch)
tree023ce4cbcf05d19d16427d2cc980e46529813e9d /src/map/mob.c
parentee6cc09aa83b85d24899def45b8e22b18ee60139 (diff)
downloadhercules-77fa315a25b08c429758d109b08a67a6e6a52e50.tar.gz
hercules-77fa315a25b08c429758d109b08a67a6e6a52e50.tar.bz2
hercules-77fa315a25b08c429758d109b08a67a6e6a52e50.tar.xz
hercules-77fa315a25b08c429758d109b08a67a6e6a52e50.zip
Fixed some compile errors
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1273 54d463be-8e91-2dee-dedb-b68131a5f0ec
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
*------------------------------------------