PoliceState: Create script enum + implement FUN_1005ea40 (#564)

* PoliceState: Create script enum + implement FUN_1005ea40

* Clean up code

* Match

* Match

* Fix type

* Fix error

* Remove return

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach
2024-02-15 11:22:58 -05:00
committed by GitHub
parent 8aa9d9a8b3
commit 91643d59ba
5 changed files with 59 additions and 10 deletions

View File

@@ -103,7 +103,6 @@ void GasStation::Enable(MxBool p_enable)
if (p_enable) {
InputManager()->SetWorld(this);
InputManager()->SetCamera(NULL);
return;
}
else {
if (InputManager()->GetWorld() == this) {