summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcalciumkid <calciumkid@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-18 13:20:35 +0000
committercalciumkid <calciumkid@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-18 13:20:35 +0000
commit88354efc1f49fab4410ab9e6fdf670c1141ce33a (patch)
tree33ffe6d3a38ac10343da16fdd0f69ce90ac6716f
parent777240a778ebae8677f8fe0a58654e4c17a4ddd8 (diff)
downloadhercules-88354efc1f49fab4410ab9e6fdf670c1141ce33a.tar.gz
hercules-88354efc1f49fab4410ab9e6fdf670c1141ce33a.tar.bz2
hercules-88354efc1f49fab4410ab9e6fdf670c1141ce33a.tar.xz
hercules-88354efc1f49fab4410ab9e6fdf670c1141ce33a.zip
mob.c fix after mob_read_sqlskilldb re bugreport:5126
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15162 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/mob.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 3732f4ab3..1b8a44b85 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4364,10 +4364,13 @@ static void mob_load(void)
mob_read_sqldb();
mob_read_sqlskilldb();
} else {
-#endif /* TXT_ONLY */
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();