mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- 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:
+5
-2
@@ -3252,8 +3252,11 @@ BOOLEAN AttachObject( SOLDIERTYPE * pSoldier, OBJECTTYPE * pTargetObj, OBJECTTYP
|
||||
// IsAGLorRL = TRUE;
|
||||
// }
|
||||
//}
|
||||
|
||||
pTargetObj->usGunAmmoItem = pAttachment->usItem;
|
||||
|
||||
if ( fValidLaunchable )
|
||||
{
|
||||
pTargetObj->usGunAmmoItem = pAttachment->usItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user