mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
general_barrier: removed useless at_corner = true
This commit is contained in:
parent
d8e13ed88d
commit
e2077620c8
@ -206,7 +206,6 @@ EX bool general_barrier_advance(cellwalker& bb, int& dir, eLand& l1, eLand& l2,
|
|||||||
surround_by(setit, bb, dir, 1, s1, l1, false, ok);
|
surround_by(setit, bb, dir, 1, s1, l1, false, ok);
|
||||||
surround_by(setit, bb, dir, s1+1, steps1-1, l2, true, ok);
|
surround_by(setit, bb, dir, s1+1, steps1-1, l2, true, ok);
|
||||||
spin_around_by(bb, dir, s1);
|
spin_around_by(bb, dir, s1);
|
||||||
at_corner = true;
|
|
||||||
ws = dir > 0 ? NOWALLSEP_WALL_CPOS : NOWALLSEP_WALL_CNEG;
|
ws = dir > 0 ? NOWALLSEP_WALL_CPOS : NOWALLSEP_WALL_CNEG;
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user