mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
Zero avatar velocity if protocol version mismatch so that overlays show
This commit is contained in:
parent
ad00e1bdca
commit
0e1e44a3f5
1 changed files with 1 additions and 0 deletions
|
@ -2289,6 +2289,7 @@ void Application::domainConnectionRefused(const QString& reasonMessage, int reas
|
||||||
QString message = "Unable to connect to the location you are visiting.\n";
|
QString message = "Unable to connect to the location you are visiting.\n";
|
||||||
message += reasonMessage;
|
message += reasonMessage;
|
||||||
OffscreenUi::asyncWarning("", message);
|
OffscreenUi::asyncWarning("", message);
|
||||||
|
getMyAvatar()->setWorldVelocity(glm::vec3(0.0f));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue