mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fixed the sprint speeds of Desktop vs HMD (they were flipped)
This commit is contained in:
parent
99aeb4aa2f
commit
62e5b50e24
1 changed files with 2 additions and 3 deletions
|
@ -5205,10 +5205,9 @@ bool MyAvatar::isReadyForPhysics() const {
|
|||
|
||||
void MyAvatar::setSprintMode(bool sprint) {
|
||||
if (qApp->isHMDMode()) {
|
||||
_walkSpeedScalar = sprint ? AVATAR_DESKTOP_SPRINT_SPEED_SCALAR : AVATAR_WALK_SPEED_SCALAR;
|
||||
}
|
||||
else {
|
||||
_walkSpeedScalar = sprint ? AVATAR_HMD_SPRINT_SPEED_SCALAR : AVATAR_WALK_SPEED_SCALAR;
|
||||
} else {
|
||||
_walkSpeedScalar = sprint ? AVATAR_DESKTOP_SPRINT_SPEED_SCALAR : AVATAR_WALK_SPEED_SCALAR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue