BUGFIX 480 - When disarming a bomb when your inventory is full, the merc actually disarming the bomb will now be the active "ItemPointerSoldier".

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4476 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
ChrisL
2011-06-06 19:44:37 +00:00
parent 75b4d43964
commit 25133e0afe
+2
View File
@@ -4780,6 +4780,8 @@ void BoobyTrapMessageBoxCallBack( UINT8 ubExitValue )
{
gpItemPointer = new OBJECTTYPE;
gTempObject.MoveThisObjectTo(*gpItemPointer,-1,gpBoobyTrapSoldier,NUM_INV_SLOTS,MAX_OBJECTS_PER_SLOT);
//CHRISL: Also make sure we list the ItemPointerSoldier as our BoobyTrapSoldier
gpItemPointerSoldier = gpBoobyTrapSoldier;
}
// OJW - 20091029 - disarm explosives
if (is_networked && is_client)