prevent double interpolation...

(eventually use of vconfig should be expanded to include code that is
using interpolate function directly).
This commit is contained in:
Patrick Parker 2008-12-21 00:08:07 +00:00
parent 86d0f46ab2
commit a7f60ceab0

View File

@ -2229,7 +2229,7 @@ namespace {
preferences::encountered_units().insert(u.type_id());
map_location loc;
if(cfg.has_attribute("x") && cfg.has_attribute("y")) {
loc = map_location(cfg.get_parsed_config(), game_events::get_state_of_game());
loc = map_location(cfg.get_config(), game_events::get_state_of_game());
} else {
loc = map_location(var, game_events::get_state_of_game());
}