mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
fixed warped lands
This commit is contained in:
2
game.cpp
2
game.cpp
@@ -364,7 +364,7 @@ bool isWarped(cell *c) {
|
||||
}
|
||||
|
||||
bool nonAdjacent(cell *c, cell *c2) {
|
||||
if(isWarped(c) && isWarped(c2) && !pseudohept(c) && !pseudohept(c2)) {
|
||||
if(isWarped(c) && isWarped(c2) && warptype(c) == warptype(c2)) {
|
||||
/* int i = neighborId(c, c2);
|
||||
cell *c3 = c->mov[(i+1)%6], *c4 = c->mov[(i+5)%6];
|
||||
if(c3 && !isTrihepta(c3)) return false;
|
||||
|
Reference in New Issue
Block a user