mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-03 23:14:07 +00:00
fixed potential crashes in GP?
This commit is contained in:
parent
276c47d7ff
commit
a7172eba42
@ -718,7 +718,7 @@ void draw_shapevec(cell *c, const transmatrix& V, const vector<hpcshape> &shv, c
|
|||||||
#if CAP_GP
|
#if CAP_GP
|
||||||
else if(GOLDBERG) {
|
else if(GOLDBERG) {
|
||||||
int id = gp::get_plainshape_id(c);
|
int id = gp::get_plainshape_id(c);
|
||||||
queuepolyat(V, shv[id], col, prio);
|
if(isize(shv) > id) queuepolyat(V, shv[id], col, prio);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if CAP_IRR
|
#if CAP_IRR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user