mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Fix: merc dying in different sector than we are in currently will now properly spawn items into sector inventory and game will show the red colored message about him dying.
todo: if merc dies off screen, his body/corpse disappears git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9038 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -46,7 +46,7 @@ BOOLEAN HandleStrategicDeath( SOLDIERTYPE *pSoldier )
|
||||
}
|
||||
|
||||
// if not in mapscreen
|
||||
if ( !(guiTacticalInterfaceFlags & INTERFACE_MAPSCREEN ) )
|
||||
if ( !(guiTacticalInterfaceFlags & INTERFACE_MAPSCREEN ) && pSoldier->bInSector)
|
||||
{
|
||||
// ATE; At least make them dead!
|
||||
if( ( pSoldier->bAssignment != ASSIGNMENT_DEAD ) )
|
||||
|
||||
Reference in New Issue
Block a user