mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-08-03 20:24:36 +02:00
Fix TF_COND_ROCKETPACK not being removed if player has no RocketPack
This commit is contained in:
@@ -3135,6 +3135,11 @@ void CTFPlayerShared::ConditionThink( void )
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// RocketPack not found, may have been unequipped, or we may be a Medic who inherited the cond
|
||||
RemoveCond( TF_COND_ROCKETPACK );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user