From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2EquipInfoDialog.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/T2EquipInfoDialog.cpp') 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() { -- cgit v1.2.3