Skip to content

Commit

Permalink
Fixed #796
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemongrass3110 committed Dec 17, 2015
1 parent ee0d256 commit c75cc2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/battle/feature.conf
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions src/map/battle.c
Expand Up @@ -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
Expand Down

0 comments on commit c75cc2a

Please sign in to comment.