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:
rftrdev
2023-05-15 00:51:37 -07:00
committed by GitHub
parent 90cd7be71d
commit a0aa58f9e5
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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) );
}