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

summaryrefslogtreecommitdiff
path: root/source/game/StarWarping.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 20:55:10 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 20:55:10 +1000
commitbaf3a1cf7671e3be0c614a55803b56d1e8aa4b0d (patch)
treef39cd6bcb07c2b51bc5630bd913a660ea52e921b /source/game/StarWarping.cpp
parent332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 (diff)
Fix crash warping to planets and leftover formatting errors
Diffstat (limited to 'source/game/StarWarping.cpp')
-rw-r--r--source/game/StarWarping.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarWarping.cpp b/source/game/StarWarping.cpp
index 442d18e..8268b16 100644
--- a/source/game/StarWarping.cpp
+++ b/source/game/StarWarping.cpp
@@ -103,13 +103,13 @@ WorldId parseWorldId(String const& printedId) {
}
std::ostream& operator<<(std::ostream& os, CelestialWorldId const& worldId) {
- os << printWorldId(worldId);
+ os << (CelestialCoordinate)worldId;
return os;
}
std::ostream& operator<<(std::ostream& os, ClientShipWorldId const& worldId) {
- os << printWorldId(worldId);
+ os << ((Uuid)worldId).hex();
return os;
}