mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
fixed bugs with drawing hypersian rugs
This commit is contained in:
parent
7fa3de574e
commit
ad4eb89385
@ -581,7 +581,8 @@ void set_floor(const transmatrix& spin, hpcshape& sh) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void draw_shapevec(cell *c, const transmatrix& V, const vector<hpcshape> &shv, int col, int prio = -1) {
|
void draw_shapevec(cell *c, const transmatrix& V, const vector<hpcshape> &shv, int col, int prio = -1) {
|
||||||
if(gp::on) {
|
if(!c) queuepolyat(V, shv[0], col, prio);
|
||||||
|
else if(gp::on) {
|
||||||
int id = gp::get_plainshape_id(c);
|
int id = gp::get_plainshape_id(c);
|
||||||
queuepolyat(V, shv[id], col, prio);
|
queuepolyat(V, shv[id], col, prio);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user