mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 21:48:35 +00:00
Gotos are stored in the child config.
This commit is contained in:
parent
479f0e25db
commit
29dd36aed1
@ -113,8 +113,8 @@ undo_list::undo_action::undo_action(const config & cfg, const std::string & tag)
|
||||
}
|
||||
}
|
||||
else if ( type == MOVE ) {
|
||||
unit_goto.x = cfg["goto_x"].to_int(-999) - 1;
|
||||
unit_goto.y = cfg["goto_y"].to_int(-999) - 1;
|
||||
unit_goto.x = child["goto_x"].to_int(-999) - 1;
|
||||
unit_goto.y = child["goto_y"].to_int(-999) - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user