fix: camera shaking while paused
This commit is contained in:
parent
df1e3f42c9
commit
e45f63c315
@ -260,7 +260,7 @@ void PlayerController::postUpdate(float delta, bool input, bool pause) {
|
|||||||
camControl.updateMouse(this->input);
|
camControl.updateMouse(this->input);
|
||||||
}
|
}
|
||||||
player->postUpdate();
|
player->postUpdate();
|
||||||
camControl.update(this->input, delta, level->chunks.get());
|
camControl.update(this->input, pause ? 0.0f : delta, level->chunks.get());
|
||||||
if (input) {
|
if (input) {
|
||||||
updateInteraction();
|
updateInteraction();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user