diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-20 21:58:08 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-20 21:58:08 +0100 |
commit | 71cf666bbd271562546f29d13eeccdced6c6602f (patch) | |
tree | e80b54c7c7e70b0beb1e3b79b4f1d6321c94c8fc /src/objects | |
parent | Fix split second Radio Off text (diff) | |
download | re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar.gz re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar.bz2 re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar.lz re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar.xz re3-71cf666bbd271562546f29d13eeccdced6c6602f.tar.zst re3-71cf666bbd271562546f29d13eeccdced6c6602f.zip |
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/Stinger.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objects/Stinger.cpp b/src/objects/Stinger.cpp index 79730c89..848a7cf7 100644 --- a/src/objects/Stinger.cpp +++ b/src/objects/Stinger.cpp @@ -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; } |