Skip to content

Commit 19d7c6d

Browse files
Remove the code in #2093 that has been superseded by #2128 and serves the same purpose
1 parent 06fa12b commit 19d7c6d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/Ext/WarheadType/Body.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ DamageAreaResult WarheadTypeExt::ExtData::DamageAreaWithTarget(const CoordStruct
119119

120120
void WarheadTypeExt::ExtData::LoadFromINIFile(CCINIClass* const pINI)
121121
{
122-
if (lastLoadedINI == reinterpret_cast<uintptr_t>(pINI))
123-
return;
124-
lastLoadedINI = reinterpret_cast<uintptr_t>(pINI);
125122
auto pThis = this->OwnerObject();
126123
const char* pSection = pThis->ID;
127124
INI_EX exINI(pINI);

src/Ext/WarheadType/Body.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ class WarheadTypeExt
259259
private:
260260
Valueable<double> Shield_Respawn_Rate_InMinutes;
261261
Valueable<double> Shield_SelfHealing_Rate_InMinutes;
262-
uintptr_t lastLoadedINI;
263262

264263
public:
265264
ExtData(WarheadTypeClass* OwnerObject) : Extension<WarheadTypeClass>(OwnerObject)
@@ -497,8 +496,6 @@ class WarheadTypeExt
497496
, ApplyPerTargetEffectsOnDetonate {}
498497

499498
, Taunt { false }
500-
501-
, lastLoadedINI { 0 }
502499
{ }
503500

504501
void ApplyConvert(HouseClass* pHouse, TechnoClass* pTarget);

0 commit comments

Comments
 (0)