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/DebriefDlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Stars45/DebriefDlg.cpp') diff --git a/Stars45/DebriefDlg.cpp b/Stars45/DebriefDlg.cpp index cf9882c..7765ca1 100644 --- a/Stars45/DebriefDlg.cpp +++ b/Stars45/DebriefDlg.cpp @@ -39,6 +39,7 @@ #include "ListBox.h" #include "Slider.h" #include "ParseUtil.h" +#include "Panic.h" // +--------------------------------------------------------------------+ // DECLARE MAPPING FUNCTIONS: @@ -367,7 +368,7 @@ DebriefDlg::OnClose(AWEvent* event) } else { - Game::Panic("DebriefDlg::OnClose() - Game instance not found"); + Panic::Panic("DebriefDlg::OnClose() - Game instance not found"); } } } -- cgit v1.1