diff --git a/Tactical/Soldier Control.cpp b/Tactical/Soldier Control.cpp index 77b2b7986..97e54c4b8 100644 --- a/Tactical/Soldier Control.cpp +++ b/Tactical/Soldier Control.cpp @@ -23735,11 +23735,14 @@ void SOLDIERTYPE::HandleSoldierTakeDamageFeedback( void ) this->DoMercBattleSound( BATTLE_SOUND_HIT1 ); } } - - // Flash portrait.... - this->flags.fFlashPortrait = TRUE; - this->bFlashPortraitFrame = FLASH_PORTRAIT_STARTSHADE; - RESETTIMECOUNTER( this->timeCounters.PortraitFlashCounter, FLASH_PORTRAIT_DELAY ); + // shadooow: Do this ONLY if buddy is in sector..... + if ((this->bInSector && guiCurrentScreen == GAME_SCREEN) || guiCurrentScreen != GAME_SCREEN) + { + // Flash portrait.... + this->flags.fFlashPortrait = TRUE; + this->bFlashPortraitFrame = FLASH_PORTRAIT_STARTSHADE; + RESETTIMECOUNTER(this->timeCounters.PortraitFlashCounter, FLASH_PORTRAIT_DELAY); + } }