command_handlers::call_handler():

...recognize filter_attack and filter_second_attack filter nodes.
This commit is contained in:
Ignacio R. Morelle 2008-08-08 22:45:27 +00:00
parent 804572f9cc
commit c2234ffe06

View file

@ -208,7 +208,7 @@ namespace game_events {
(*itor->second)(eh, event_info, cfg);
return true;
}
return cmd == "filter" || cmd == "filter_second";
return cmd == "filter" || cmd == "filter_second" || cmd == "filter_second_attack" || cmd == "filter_attack";
}
static bool unit_matches_filter(const unit& u, const vconfig filter,const gamemap::location& loc);