1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-22 23:17:04 +00:00

Blizzard special heat rules are now only active if both lands are Blizzard

This commit is contained in:
Zeno Rogue 2020-04-06 09:36:57 +02:00
parent 8609389281
commit a7347bdd20

View File

@ -2144,7 +2144,7 @@ EX namespace heat {
hdiff /= divby;
#if CAP_FIELD
if(ct->land == laBlizzard) {
if(ct->land == laBlizzard && c->land == laBlizzard) {
int v = (windmap::at(ct) - windmap::at(c)) & 255;
if(v > 128) v -= 256;
if(v < windmap::NOWINDFROM && v > -windmap::NOWINDFROM)