mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixes some glitches with nowall barriers in GP(2,1)
This commit is contained in:
parent
91460e5879
commit
c294c9f6c5
@ -67,6 +67,7 @@ bool warped_version(eLand l1, eLand l2) {
|
||||
|
||||
bool checkBarriersNowall(cellwalker bb, int q, int dir, eLand l1=laNone, eLand l2=laNone) {
|
||||
if(bb.at->mpdist < BARLEV && l1 == l2) return false;
|
||||
if(bb.cpeek()->bardir != NODIR && l1 == l2) return false;
|
||||
if(bb.at->bardir != NODIR && l1 == l2) return false;
|
||||
// if(bb.at->move(dir) && bb.at->move(dir)->bardir != NODIR && l1 == laNone) return false;
|
||||
// if(bb.at->move(dir) && bb.at->move(dir)->mpdist < BARLEV && l1 == laNone) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user