Add a comment to the C++

Might as well warn the programmer about this just in case someone adds or removes a recall-specific attribute.
This commit is contained in:
Gregory A Lundberg 2016-07-19 23:45:21 -05:00
parent b064328102
commit a72c68547f

View file

@ -426,6 +426,8 @@ WML_HANDLER_FUNCTION(move_units_fake,, cfg)
}
/// If we should recall units that match a certain description.
// If you change attributes specific to [recall] (that is, not a Standard Unit Filter)
// be sure to update data/lua/wml_tag, auto_recall feature for [role] to reflect your changes.
WML_HANDLER_FUNCTION(recall,, cfg)
{
LOG_NG << "recalling unit...\n";