summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2EquipInfoDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2EquipInfoDialog.cpp')
-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() {