1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

changed VLA to vector

This commit is contained in:
Zeno Rogue 2020-04-10 02:13:38 +02:00
parent ac6548684c
commit 4d77c25dba

View File

@ -225,7 +225,7 @@ struct trianglemaker {
int d1 = (d+1) % 3;
int d2 = (d+2) % 3;
hyperpoint path[isteps+1];
vector<hyperpoint> path(isteps+1);
for(int i=0; i<isteps; i++) {
path[i] = at;
at = nisot::translate(at) * (start + ds[d] * ca * (dx >= 3 ? -1 : 1));