mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
fix for "white face" when saying some quote which happened when the soldier was bleeding in different sector than we are in right now
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9035 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user