mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
sounds variability + first step fix
This commit is contained in:
parent
87dd1dd6b2
commit
bfc3182ed3
4 changed files with 23 additions and 9 deletions
|
|
@ -226,6 +226,8 @@ void PlayerController::updateFootsteps(float delta) {
|
|||
stepsTimer = fmod(stepsTimer, M_PI);
|
||||
onFootstep();
|
||||
}
|
||||
} else {
|
||||
stepsTimer = M_PI;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue