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:
parent
8609389281
commit
a7347bdd20
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user