Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarUniverseClient.cpp')
-rw-r--r--source/game/StarUniverseClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarUniverseClient.cpp b/source/game/StarUniverseClient.cpp
index b41d19e..9a1f31b 100644
--- a/source/game/StarUniverseClient.cpp
+++ b/source/game/StarUniverseClient.cpp
@@ -423,7 +423,7 @@ void UniverseClient::warpPlayer(WarpAction const& warpAction, bool animate, Stri
if (auto warpToWorld = warpAction.ptr<WarpToWorld>()) {
if (warpToWorld->world.empty() || warpToWorld->world == playerWorld()) {
if (auto pos = warpToWorld->target.ptr<SpawnTargetPosition>()) {
- m_mainPlayer->moveTo(*pos); // Add a little space to up
+ m_mainPlayer->moveTo(*pos);
return;
}
}