mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
fix: camera shaking while paused
This commit is contained in:
parent
df1e3f42c9
commit
e45f63c315
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue