From c75cc2a2276a54d5588acfd30158bc31ff358241 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Thu, 17 Dec 2015 18:05:21 +0100 Subject: [PATCH] Fixed #796 --- conf/battle/feature.conf | 1 + src/map/battle.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/conf/battle/feature.conf b/conf/battle/feature.conf index 38f068ea60..fa632110fc 100644 --- a/conf/battle/feature.conf +++ b/conf/battle/feature.conf @@ -22,6 +22,7 @@ feature.atcommand_suggestions: off // Auction (Note 1) // Feature became unstable on clients 2012 onwards (exact date not known), // it has been fixed on clients 2013-05-15 onwards however. +// Feature was removed again on clients 2014-11-12 and later. feature.auction: on // Warp suggestions (Note 1) diff --git a/src/map/battle.c b/src/map/battle.c index 89433b7570..d4c8165302 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -8392,6 +8392,12 @@ void battle_adjust_conf() ShowWarning("conf/battle/feature.conf:feature.auction change value to '2' to silence this warning and maintain it enabled\n"); battle_config.feature_auction = 0; } +#elif PACKETVER >= 20141112 + if (battle_config.feature_auction) { + ShowWarning("conf/battle/feature.conf:feature.auction is enabled but it is not available for clients from 2014-11-12 on, disabling...\n"); + ShowWarning("conf/battle/feature.conf:feature.auction change value to '2' to silence this warning and maintain it enabled\n"); + battle_config.feature_auction = 0; + } #endif #if PACKETVER < 20130724