1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixed variable conflict warning

This commit is contained in:
Zeno Rogue 2018-07-30 09:34:37 +02:00
parent 4ae3733659
commit f635c27e07

View File

@ -566,11 +566,11 @@ namespace irr {
cornerlist.push_back(rspintox(vs.vertices[j]) * xpush(hdist0(vs.vertices[j]) * sca) * C0); cornerlist.push_back(rspintox(vs.vertices[j]) * xpush(hdist0(vs.vertices[j]) * sca) * C0);
bshape(fsh.b[i], fsh.prio); bshape(fsh.b[i], fsh.prio);
for(int i=0; i<=cor; i++) hpcpush(cornerlist[i%cor]); for(int j=0; j<=cor; j++) hpcpush(cornerlist[j%cor]);
bshape(fsh.shadow[i], fsh.prio); bshape(fsh.shadow[i], fsh.prio);
for(int i=0; i<=cor; i++) for(int j=0; j<=cor; j++)
hpcpush(mid_at(hpxy(0,0), cornerlist[i%cor], SHADMUL)); hpcpush(mid_at(hpxy(0,0), cornerlist[j%cor], SHADMUL));
cell fc; cell fc;
fc.type = cor; fc.type = cor;