Improved code to spawn item and it's attachments when disarming bomb.

Update sight after item transformation.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8909 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2020-10-23 13:15:31 +00:00
parent 59f91fc065
commit e738e4424d
2 changed files with 21 additions and 23 deletions
+3
View File
@@ -14992,6 +14992,9 @@ BOOLEAN OBJECTTYPE::TransformObject( SOLDIERTYPE * pSoldier, UINT8 ubStatusIndex
// Flugente: we have to recheck our flashlights
pSoldier->HandleFlashLights();
// sevenfm: handle sight change
HandleSight(pSoldier, SIGHT_LOOK | SIGHT_INTERRUPT);
// Signal a successful transformation.
return TRUE;
}