Document when a deprecation warning was added

This commit is contained in:
Alexander van Gessel 2013-06-17 21:30:03 +02:00
parent 89714490d3
commit 93f9e0c9cc

View file

@ -986,6 +986,7 @@ WML_HANDLER_FUNCTION(modify_ai, /*event_info*/, cfg)
const vconfig& filter_side = cfg.child("filter_side");
std::vector<int> sides;
if(!filter_side.null()) {
// TODO: since 1.11.0-dev it seems
WRN_NG << "[modify_ai][filter_side] is deprecated, use only an inline SSF\n";
if(!cfg["side"].str().empty()) {
ERR_NG << "duplicate side information in [modify_ai]\n";