mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
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:
@@ -1194,6 +1194,11 @@ BOOLEAN OKFireWeapon( SOLDIERTYPE *pSoldier )
|
||||
// 1) Are we attacking with our second hand?
|
||||
if ( pSoldier->ubAttackingHand == SECONDHANDPOS )
|
||||
{
|
||||
if ( Weapon[pSoldier->inv[pSoldier->ubAttackingHand].usItem].NoSemiAuto ) // Madd: no autofire w/second hand (yet)
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
if ( !EnoughAmmo( pSoldier, FALSE, pSoldier->ubAttackingHand ) )
|
||||
{
|
||||
if ( pSoldier->bTeam == gbPlayerNum )
|
||||
|
||||
Reference in New Issue
Block a user