fixed potential crashes in GP?

This commit is contained in:
Zeno Rogue 2019-05-15 09:37:36 +02:00
parent 276c47d7ff
commit a7172eba42
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ void draw_shapevec(cell *c, const transmatrix& V, const vector<hpcshape> &shv, c
#if CAP_GP
else if(GOLDBERG) {
int id = gp::get_plainshape_id(c);
queuepolyat(V, shv[id], col, prio);
if(isize(shv) > id) queuepolyat(V, shv[id], col, prio);
}
#endif
#if CAP_IRR