summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-11-03 08:10:26 -0200
committershennetsind <ind@henn.et>2014-11-03 08:10:26 -0200
commit239d480487e24294975f35ed55f210837ad1088e (patch)
treee044c88ffff32e4f9b42a86860509e1e6ce8736b /src/map/itemdb.c
parentbd0c805f732a3ec43ad253b6d2618be6fb640cdd (diff)
downloadhercules-239d480487e24294975f35ed55f210837ad1088e.tar.gz
hercules-239d480487e24294975f35ed55f210837ad1088e.tar.bz2
hercules-239d480487e24294975f35ed55f210837ad1088e.tar.xz
hercules-239d480487e24294975f35ed55f210837ad1088e.zip
Introducing 2014-10-22, Roulette and Per-Char Gender!
Details in http://hercules.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/ Special Thanks to the all-mighty Yommy, Ziu and Haruna! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index e6210f871..41e0a5348 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -2248,6 +2248,10 @@ void do_init_itemdb(bool minimal) {
return;
clif->cashshop_load();
+
+ /** it failed? we disable it **/
+ if( !clif->parse_roulette_db() )
+ battle_config.feature_roulette = 0;
}
void itemdb_defaults(void) {
itemdb = &itemdb_s;