From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/SpeedDlg.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/SpeedDlg.cpp') diff --git a/src/T2DLL/SpeedDlg.cpp b/src/T2DLL/SpeedDlg.cpp index ba623bf..88c0805 100644 --- a/src/T2DLL/SpeedDlg.cpp +++ b/src/T2DLL/SpeedDlg.cpp @@ -6,6 +6,12 @@ #include "T2TowerDoc.h" #include "T2WorldDef.h" +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + SpeedDlg::SpeedDlg() { mDeleteOnClose = true; } @@ -26,7 +32,7 @@ void SpeedDlg::Setup(T2TowerDoc *inDoc, HINSTANCE inInstance, CWnd *inParentWnd, ShowWindow(SW_HIDE); } -static const int speedValues[] = {125, 25, 20, 5, 1}; +static int speedValues[] = {125, 25, 20, 5, 1}; void SpeedDlg::Revert() { T2DlgItem *theRadio; -- cgit v1.2.3