[MIRROR] [s]Diseases lose scan invisibility if their stealth drops below the threshold (#7082)

* Merge pull request #38415 from XDTM/master_of_disguise

[s]Diseases lose scan invisibility if their stealth drops below the threshold

* [s]Diseases lose scan invisibility if their stealth drops below the threshold
This commit is contained in:
CitadelStationBot
2018-06-15 04:47:11 -05:00
committed by kevinz000
parent 457fe03ec3
commit f9d5987993
+3 -1
View File
@@ -189,7 +189,9 @@
if(properties && properties.len)
if(properties["stealth"] >= 2)
visibility_flags = HIDDEN_SCANNER
visibility_flags |= HIDDEN_SCANNER
else
visibility_flags &= ~HIDDEN_SCANNER
SetSpread(CLAMP(2 ** (properties["transmittable"] - symptoms.len), DISEASE_SPREAD_BLOOD, DISEASE_SPREAD_AIRBORNE))