mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user