mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-12 06:47:56 +03:00
Fix unarmed citizens not picking up weapons from racks
This commit is contained in:
parent
6a0a0154c6
commit
a131bf42a6
@ -3615,7 +3615,7 @@ CBaseEntity *CBaseCombatCharacter::Weapon_FindUsable( const Vector &range )
|
|||||||
else if (hl2_episodic.GetBool() && !GetActiveWeapon())
|
else if (hl2_episodic.GetBool() && !GetActiveWeapon())
|
||||||
{
|
{
|
||||||
// Unarmed citizens are conservative in their weapon finding...in Episode One
|
// Unarmed citizens are conservative in their weapon finding...in Episode One
|
||||||
if (Classify() != CLASS_PLAYER_ALLY_VITAL && Q_strncmp(STRING(gpGlobals->mapname), "ep1_", 4))
|
if (Classify() != CLASS_PLAYER_ALLY_VITAL && Q_strncmp(STRING(gpGlobals->mapname), "ep1_", 4) == 0)
|
||||||
bConservative = true;
|
bConservative = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user