mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 17:49:16 +01:00
A saner way to remove Stingers, may fix Physical crash
This commit is contained in:
parent
040c6f9027
commit
71cf666bbd
@ -75,10 +75,16 @@ CStinger::Remove()
|
||||
|
||||
for (int32 i = 0; i < NUM_STINGER_SEGMENTS; i++) {
|
||||
CStingerSegment *spikeSegment = pSpikes[i];
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
CWorld::Remove(spikeSegment);
|
||||
delete spikeSegment;
|
||||
#else
|
||||
if (spikeSegment->m_entryInfoList.first != nil)
|
||||
spikeSegment->bRemoveFromWorld = true;
|
||||
else
|
||||
delete spikeSegment;
|
||||
#endif
|
||||
}
|
||||
bIsDeployed = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user