Disabling movements when the player enter in a dialog

This commit is contained in:
Anonymus Raccoon
2020-04-15 15:31:06 +02:00
parent c11962b462
commit 3ec83a6e43
4 changed files with 19 additions and 1 deletions
@@ -16,6 +16,9 @@ struct controllable_component
int movement_x;
int movement_y;
float move_callback;
bool can_move;
};
void controllable_set_can_move(gc_scene *scene, bool value);
extern const struct controllable_component controllable_component;