From 6b08d932018597aed2a7ad33b2127637e8379311 Mon Sep 17 00:00:00 2001 From: Stubbjax Date: Tue, 17 Feb 2026 14:19:06 +1100 Subject: [PATCH] bugfix: Only detonate Bunker Busters if the missile reaches its destination --- .../GameLogic/Object/Behavior/BunkerBusterBehavior.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/BunkerBusterBehavior.cpp b/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/BunkerBusterBehavior.cpp index 168cfd8d680..b80bd66d9c8 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/BunkerBusterBehavior.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/BunkerBusterBehavior.cpp @@ -165,6 +165,13 @@ UpdateSleepTime BunkerBusterBehavior::update( void ) // ------------------------------------------------------------------------------------------------ void BunkerBusterBehavior::onDie( const DamageInfo *damageInfo ) { +#if !RETAIL_COMPATIBLE_CRC + // TheSuperHackers @bugfix Stubbjax 17/02/2026 Only bust the bunker if the missile kills itself + // by reaching its destination and not when killed via external sources such as a zap from a PDL. + if (!getObject()->testStatus(OBJECT_STATUS_MISSILE_KILLING_SELF)) + return; +#endif + // do what we came here to do! bustTheBunker(); }