- New feature: Remove attachments and unload all weapons in sector (Shift+F)

- Fix for grenade launchers (allow reloading with valid ammunition only)
- Fix for stacking items in sector



git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@855 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2007-04-19 09:28:28 +00:00
parent 198d1fe9d3
commit a17a3f7cc8
16 changed files with 102 additions and 22 deletions
+5 -2
View File
@@ -3252,8 +3252,11 @@ BOOLEAN AttachObject( SOLDIERTYPE * pSoldier, OBJECTTYPE * pTargetObj, OBJECTTYP
// IsAGLorRL = TRUE;
// }
//}
pTargetObj->usGunAmmoItem = pAttachment->usItem;
if ( fValidLaunchable )
{
pTargetObj->usGunAmmoItem = pAttachment->usItem;
}
}
}