mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Added additional dialogue call for death of a character (ADE_NPC_DEATH = 16)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8585 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4096,6 +4096,13 @@ BOOLEAN HandleSoldierDeath( SOLDIERTYPE *pSoldier , BOOLEAN *pfMadeCorpse )
|
||||
DeleteVIP( pSoldier->sSectorX, pSoldier->sSectorY );
|
||||
}
|
||||
|
||||
// Flugente: additional dialogue
|
||||
if ( pSoldier->ubProfile != NO_PROFILE )
|
||||
{
|
||||
AdditionalTacticalCharacterDialogue_AllInSector( pSoldier->sSectorX, pSoldier->sSectorY, pSoldier->bSectorZ, pSoldier->ubProfile, ADE_NPC_DEATH,
|
||||
pSoldier->ubProfile, pKillerSoldier ? pKillerSoldier->ubProfile : 0, pSoldier->ubBodyType );
|
||||
}
|
||||
|
||||
// Remove mad as target, one he has died!
|
||||
RemoveManAsTarget( pSoldier );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user