summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemMovie.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/T2DlgItemMovie.cpp
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemMovie.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/T2DLL/T2DlgItemMovie.cpp b/src/T2DLL/T2DlgItemMovie.cpp
index 2a66e80..8e6e324 100644
--- a/src/T2DLL/T2DlgItemMovie.cpp
+++ b/src/T2DLL/T2DlgItemMovie.cpp
@@ -3,6 +3,12 @@
#include "T2DlgItemMovie.h"
#include "T2ImageObj.h"
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
// love how this is obviously based off player/playfile/playfile.cpp
// from the DirectX SDK
@@ -65,8 +71,8 @@ void T2DlgItemMovie::SetStillScreenID(const char* inName, int inResID) {
InvalidateRect(NULL);
#line 76
- mImage = DEBUG_NEW T2BitImage(inName, inResID, true);
- mImageObj = DEBUG_NEW T2ImageObj;
+ mImage = new T2BitImage(inName, inResID, true);
+ mImageObj = new T2ImageObj;
mImageObj->AddObject("STIL", -1, *mImage, NULL, false, false);
}