1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 06:33:19 +00:00

rogueviz::flocking:: using virtualRebase to make zebra quotient work

This commit is contained in:
Zeno Rogue 2018-11-18 17:51:23 +01:00
parent be3a464527
commit 624a6bca3b

View File

@ -111,6 +111,8 @@ namespace flocking {
monsat[m->base].push_back(m);
}
for(cell *c: currentmap->allcells()) ggmatrix(c);
lines.clear();
for(int i=0; i<N; i++) {
@ -184,6 +186,7 @@ namespace flocking {
vertexdata& vd = vdata[i];
auto m = vd.m;
m->rebasePat(pats[i]);
virtualRebase(m, true);
m->vel = vels[i];
}
shmup::fixStorage();