Little Alien

- Game version string changed

Added changes from Madd Mugsy 2006.05.24

- Fixed tracer bullet firing during daytime bug
- Made camobonus not depend on gear status
- Items with coolness = 0 are "illegal"
- Made wirecutter cursor appear for utility knife when able to cut fences
- Made autofire-only guns not work if they're in the secondary hand



git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@80 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-05-25 11:29:27 +00:00
parent 7929d945f6
commit b01ab97aaa
7 changed files with 31 additions and 18 deletions
+5 -2
View File
@@ -1173,6 +1173,9 @@ UINT16 ReplacementAmmo[][2] =
BOOLEAN ItemIsLegal( UINT16 usItemIndex )
{
//if the user has selected the reduced gun list
if ( Item[usItemIndex].ubCoolness == 0 )
return FALSE;
if( !gGameOptions.fGunNut )
{
//if the item is a gun, or ammo
@@ -7018,11 +7021,11 @@ INT16 GetCamoBonus( OBJECTTYPE * pObj )
INT8 bLoop;
INT16 bns=0;
bns = (INT16) (Item[pObj->usItem].camobonus * (WEAPON_STATUS_MOD(pObj->bStatus[0]) / 100)) ;
bns = (INT16) (Item[pObj->usItem].camobonus);// * (WEAPON_STATUS_MOD(pObj->bStatus[0]) / 100)) ;
for (bLoop = 0; bLoop < MAX_ATTACHMENTS; bLoop++)
{
bns += (INT16) (Item[pObj->usAttachItem[bLoop]].camobonus * (WEAPON_STATUS_MOD(pObj->bAttachStatus[bLoop]) / 100));
bns += (INT16) (Item[pObj->usAttachItem[bLoop]].camobonus);// * (WEAPON_STATUS_MOD(pObj->bAttachStatus[bLoop]) / 100));
}
return( bns );
}