mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
euc:: fixed adj(c,i) in 3D
This commit is contained in:
parent
206dc25ed6
commit
3a5a2236de
@ -207,6 +207,11 @@ EX namespace euc {
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
transmatrix adj(cell *c, int i) override {
|
||||||
|
if(WDIM == 3) return adj(c->master, i);
|
||||||
|
else return hrmap_standard::adj(c, i);
|
||||||
|
}
|
||||||
|
|
||||||
void draw() override {
|
void draw() override {
|
||||||
dq::visited_by_matrix.clear();
|
dq::visited_by_matrix.clear();
|
||||||
dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true));
|
dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true));
|
||||||
|
Loading…
Reference in New Issue
Block a user