mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Remove armed vehicle check from soldier AI
This commit is contained in:
@@ -20220,10 +20220,6 @@ INT8 DecideActionRedSoldier(SOLDIERTYPE* pSoldier)
|
||||
if (pSoldier->aiData.bAttitude == DEFENSIVE)
|
||||
iChance += 25;
|
||||
|
||||
if (ARMED_VEHICLE(pSoldier))
|
||||
{
|
||||
iChance += 50;
|
||||
}
|
||||
|
||||
if ((INT16)PreRandom(100) < iChance && pSoldier->InternalIsValidStance(ubOpponentDir, gAnimControl[pSoldier->usAnimState].ubEndHeight))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user