diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 20:55:10 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 20:55:10 +1000 |
commit | baf3a1cf7671e3be0c614a55803b56d1e8aa4b0d (patch) | |
tree | f39cd6bcb07c2b51bc5630bd913a660ea52e921b /source/game/StarWarping.cpp | |
parent | 332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 (diff) |
Fix crash warping to planets and leftover formatting errors
Diffstat (limited to 'source/game/StarWarping.cpp')
-rw-r--r-- | source/game/StarWarping.cpp | 4 |
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; } |