summaryrefslogtreecommitdiff
path: root/src/T2DLL/SoundDlg.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/SoundDlg.cpp
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to 'src/T2DLL/SoundDlg.cpp')
-rw-r--r--src/T2DLL/SoundDlg.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/T2DLL/SoundDlg.cpp b/src/T2DLL/SoundDlg.cpp
index 858f906..20db73d 100644
--- a/src/T2DLL/SoundDlg.cpp
+++ b/src/T2DLL/SoundDlg.cpp
@@ -8,6 +8,12 @@
#include "T2TowerDoc.h"
#include "T2WorldDef.h"
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
SoundDlg::SoundDlg() {
mDeleteOnClose = true;
}
@@ -43,7 +49,7 @@ void SoundDlg::Revert() {
}
// T2DLL.dll 100DBC20
-static const unsigned int masks[4] = {
+static unsigned int masks[4] = {
9, 2, 0x30, 4
};