From bee3cae04a8789cfdc1688ae6d2d47c387431783 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 11 Mar 2024 00:49:03 +0100 Subject: Fix format of Stardate dump --- StarsEx/Starshatter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StarsEx/Starshatter.cpp b/StarsEx/Starshatter.cpp index 808e682..0d448f1 100644 --- a/StarsEx/Starshatter.cpp +++ b/StarsEx/Starshatter.cpp @@ -593,7 +593,7 @@ Starshatter::SetGameMode(int m) Clock::GetInstance()->SetTimeCompression(1.0); Pause(false); - Print(" Stardate: %.1f\n", StarSystem::GetBaseTime()); + Print(" Stardate: %.1Lf\n", StarSystem::GetBaseTime()); } else if (m == PLAN_MODE) { @@ -604,7 +604,7 @@ Starshatter::SetGameMode(int m) StopNetGame(); Pause(true); - Print(" Stardate: %.1f\n", StarSystem::GetBaseTime()); + Print(" Stardate: %.1Lf\n", StarSystem::GetBaseTime()); } } @@ -631,7 +631,7 @@ Starshatter::SetGameMode(int m) StopNetGame(); } - Print(" Stardate: %.1f\n", StarSystem::GetBaseTime()); + Print(" Stardate: %.1Lf\n", StarSystem::GetBaseTime()); Print(" Bitmap Cache Footprint: %d KB\n", Bitmap::CacheMemoryFootprint() / 1024); paused = true; -- cgit v1.1