mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-31 22:12:59 +00:00
major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T>
This commit is contained in:
@@ -378,7 +378,7 @@ bool buildPrizeMirror(cell *c, int freq) {
|
||||
return true;
|
||||
}
|
||||
|
||||
eLand getPrizeLand(cell *c = cwt.c) {
|
||||
eLand getPrizeLand(cell *c = cwt.at) {
|
||||
eLand l = c->land;
|
||||
if(isElemental(l)) l = laElementalWall;
|
||||
if(l == laPalace && princess::dist(c) < OUT_OF_PRISON)
|
||||
|
||||
Reference in New Issue
Block a user