mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 16:22:08 +00:00
prevent double interpolation...
(eventually use of vconfig should be expanded to include code that is using interpolate function directly).
This commit is contained in:
parent
86d0f46ab2
commit
a7f60ceab0
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user