mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 03:53:16 +00:00
Fix for bug #13286
This commit is contained in:
parent
dca2d9f42a
commit
d1cf9475bc
@ -1741,6 +1741,8 @@ void formula_ai::build_move_list() {
|
||||
std::string formula_ai::evaluate(const std::string& formula_str)
|
||||
{
|
||||
try{
|
||||
move_maps_valid_ = false;
|
||||
|
||||
game_logic::formula f(formula_str, &function_table);
|
||||
|
||||
game_logic::map_formula_callable callable(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user