1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

fixed potential crashes in GP?

This commit is contained in:
Zeno Rogue 2019-05-15 09:37:36 +02:00
parent 276c47d7ff
commit a7172eba42

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