diff options
Diffstat (limited to 'npc/functions/weather.txt')
-rw-r--r-- | npc/functions/weather.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index 69bf20d5a..bf8ed5570 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -94,21 +94,21 @@ OnMinute45: // Remove all current masks, and add rain/snow/sand if (.@type$ == "desert") { if (.@r < 10) - .@mk=MASK_RAIN; + .@mk=.@mk|MASK_RAIN; else if (.@r < 300) - .@mk=MASK_SANDSTORM; + .@mk=.@mk|MASK_SANDSTORM; } else if (.@type$ == "woodland") { if (.@r < 300) - .@mk=MASK_RAIN; + .@mk=.@mk|MASK_RAIN; if (season() == WINTER) .@mk=.@mk|MASK_SNOW; } else if (.@type$ == "iceland") { if (.@r < 30) - .@mk=MASK_RAIN; + .@mk=.@mk|MASK_RAIN; else if (.@r < 300) - .@mk=MASK_SNOW; + .@mk=.@mk|MASK_SNOW; } else { debugmes "Warning warning, blame Saulc! Weather system error on map "+.@key$; |