mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-01 15:30:16 +00:00
raycasting in 2D
This commit is contained in:
@@ -3769,7 +3769,7 @@ EX void gridline(const transmatrix& V, const hyperpoint h1, const hyperpoint h2,
|
||||
}
|
||||
|
||||
EX int wall_offset(cell *c) {
|
||||
if(hybri) return hybrid::wall_offset(c);
|
||||
if(hybri || WDIM == 2) return hybrid::wall_offset(c);
|
||||
if(kite::in() && kite::getshape(c->master) == kite::pKite) return 10;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user