mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +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;
|
hdiff /= divby;
|
||||||
|
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
if(ct->land == laBlizzard) {
|
if(ct->land == laBlizzard && c->land == laBlizzard) {
|
||||||
int v = (windmap::at(ct) - windmap::at(c)) & 255;
|
int v = (windmap::at(ct) - windmap::at(c)) & 255;
|
||||||
if(v > 128) v -= 256;
|
if(v > 128) v -= 256;
|
||||||
if(v < windmap::NOWINDFROM && v > -windmap::NOWINDFROM)
|
if(v < windmap::NOWINDFROM && v > -windmap::NOWINDFROM)
|
||||||
|
Loading…
Reference in New Issue
Block a user