From c376af320ebd9d9e435ef3003dd35136dbd71ae8 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 28 Feb 2022 22:49:18 +0100 Subject: Replaced old panic mechanism uses with the new one This will allow to split the functionality even further. I predict that at some point they I will start joining them up together once again, but for now I need them to be isolated. --- Stars45/Ship.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Stars45/Ship.cpp') diff --git a/Stars45/Ship.cpp b/Stars45/Ship.cpp index 61765fd..45c4c92 100644 --- a/Stars45/Ship.cpp +++ b/Stars45/Ship.cpp @@ -83,6 +83,7 @@ #include "Button.h" #include "Sound.h" #include "DataLoader.h" +#include "Panic.h" #include "Parser.h" #include "Reader.h" @@ -133,7 +134,7 @@ Ship::Ship(const char* ship_name, const char* reg_num, ShipDesign* ship_dsn, int if (!design) { char msg[256]; sprintf_s(msg, "No ship design found for '%s'\n", ship_name); - Game::Panic(msg); + Panic::Panic(msg); } obj_type = SimObject::SIM_SHIP; -- cgit v1.1