Mercurial > mm7
diff stru6.cpp @ 1106:3395579f6c4d
stru6_stru1_indoor_sw_billboard destructor fix, removing "extern" from struct definition, fixing probable typo in SPELL_AIR_SPARKS
author | Grumpy7 |
---|---|
date | Mon, 27 May 2013 21:56:43 +0200 |
parents | 79010db96ade |
children | 96a81634669e |
line wrap: on
line diff
--- a/stru6.cpp Mon May 27 21:42:09 2013 +0200 +++ b/stru6.cpp Mon May 27 21:56:43 2013 +0200 @@ -27,6 +27,18 @@ +//----- (004775C4) -------------------------------------------------------- +stru6_stru1_indoor_sw_billboard::~stru6_stru1_indoor_sw_billboard() +{ + if (pArray1) + delete [] pArray1; + pArray1 = nullptr; + + if (pArray2) + delete [] pArray2; + pArray2 = nullptr; +} + //----- (00478211) -------------------------------------------------------- void stru6_stru1_indoor_sw_billboard::Initialize(int a2)