mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Update disease flags (hand and face) so that they can be used on the same item (#143)
* Allow an item to have both disease flags enabled * Remove extra line break for disease hand protection helptext
This commit is contained in:
@@ -19923,7 +19923,7 @@ FLOAT SOLDIERTYPE::GetDiseaseContactProtection( )
|
||||
{
|
||||
bestfacegear = max( bestfacegear, (FLOAT)((*pObj)[0]->data.objectStatus / 100) );
|
||||
}
|
||||
else if ( HasItemFlag( pObj->usItem, DISEASEPROTECTION_2 ) )
|
||||
if ( HasItemFlag( pObj->usItem, DISEASEPROTECTION_2 ) )
|
||||
{
|
||||
bestprotectivegear = max( bestprotectivegear, (FLOAT)((*pObj)[0]->data.objectStatus / 100) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user