Fix stuck in walker control
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
This commit is contained in:
parent
623308cd67
commit
8a32f1e2e5
1 changed files with 3 additions and 1 deletions
|
@ -272,7 +272,9 @@ bool TRunnerScreen::update(float dt) {
|
|||
walkers[controlled_walker_idx.value()].player_idle();
|
||||
goto post_check_click;
|
||||
}
|
||||
} else if (IsMouseButtonPressed(0)) {
|
||||
}
|
||||
|
||||
if (IsMouseButtonPressed(0)) {
|
||||
float press_x = GetTouchX();
|
||||
float press_y = GetTouchY();
|
||||
Ray ray = GetMouseRay(Vector2{press_x, press_y}, camera);
|
||||
|
|
Loading…
Reference in a new issue