summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnDlg.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-28 22:49:18 +0100
committerAki <please@ignore.pl>2022-02-28 22:49:18 +0100
commitc376af320ebd9d9e435ef3003dd35136dbd71ae8 (patch)
tree224ef8cdd3390260ed97d8278d1223d0494016c8 /Stars45/MsnDlg.cpp
parent724c36ea74dc6f2dfc097c45825c06df7756e058 (diff)
downloadstarshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.zip
starshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.tar.gz
starshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.tar.bz2
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.
Diffstat (limited to 'Stars45/MsnDlg.cpp')
-rw-r--r--Stars45/MsnDlg.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/MsnDlg.cpp b/Stars45/MsnDlg.cpp
index fe2a878..65a3b00 100644
--- a/Stars45/MsnDlg.cpp
+++ b/Stars45/MsnDlg.cpp
@@ -33,6 +33,7 @@
#include "Button.h"
#include "ListBox.h"
#include "Slider.h"
+#include "Panic.h"
#include "ParseUtil.h"
// +--------------------------------------------------------------------+
@@ -281,7 +282,7 @@ MsnDlg::OnCommit(AWEvent* event)
}
else
- Game::Panic("MsnDlg::OnCommit() - Game instance not found");
+ Panic::Panic("MsnDlg::OnCommit() - Game instance not found");
}
void
@@ -299,5 +300,5 @@ MsnDlg::OnCancel(AWEvent* event)
}
else
- Game::Panic("MsnDlg::OnCancel() - Game instance not found");
+ Panic::Panic("MsnDlg::OnCancel() - Game instance not found");
}