mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 07:15:37 +02:00
Fix warnings.
This commit is contained in:
parent
1f664671f9
commit
654ed33dd4
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ void OverlayConductor::updateMode() {
|
|||
MyAvatar* myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
|
||||
float speed = glm::length(myAvatar->getVelocity());
|
||||
bool nowDriving = _driving;
|
||||
const float MIN_DRIVING = 0.2;
|
||||
const float MAX_NOT_DRIVING = 0.01;
|
||||
const float MIN_DRIVING = 0.2f;
|
||||
const float MAX_NOT_DRIVING = 0.01f;
|
||||
if (speed > MIN_DRIVING) {
|
||||
nowDriving = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue