mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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) {
|
||||
if(gp::on) {
|
||||
if(!c) queuepolyat(V, shv[0], col, prio);
|
||||
else if(gp::on) {
|
||||
int id = gp::get_plainshape_id(c);
|
||||
queuepolyat(V, shv[id], col, prio);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user