summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2EquipInfoDialog.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2EquipInfoDialog.cpp
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2EquipInfoDialog.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/T2DLL/T2EquipInfoDialog.cpp b/src/T2DLL/T2EquipInfoDialog.cpp
index 7fd307a..7476149 100644
--- a/src/T2DLL/T2EquipInfoDialog.cpp
+++ b/src/T2DLL/T2EquipInfoDialog.cpp
@@ -1,6 +1,12 @@
+#include "T2EquipDef.h"
#include "T2EquipInfoDialog.h"
-T2EquipInfoDialog::T2EquipInfoDialog(T2Equip*) {
+T2EquipInfoDialog::T2EquipInfoDialog(T2Equip* inEquip)
+ : T2InfoDialog(inEquip)
+{
+ mEquipDef = GetEquip()->GetEquipDef();
+#line 11
+ _ASSERT(mEquipDef != NULL);
}
/*virtual*/ T2EquipInfoDialog::~T2EquipInfoDialog() {