And finally fix some of the API names to make more sense in their current location.
This commit is contained in:
parent
a20d701096
commit
7ffa6025ce
11 changed files with 74 additions and 99 deletions
|
@ -267,7 +267,7 @@ namespace gui {
|
|||
}
|
||||
|
||||
void FSM::try_move(int dir, bool strafe) {
|
||||
auto& level = GameDB::current();
|
||||
auto& level = GameDB::current_level();
|
||||
using enum State;
|
||||
// prevent moving into occupied space
|
||||
Point move_to = $main_ui.plan_move(dir, strafe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue