mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 10:50:35 +00:00
rogueviz::flocking:: using virtualRebase to make zebra quotient work
This commit is contained in:
parent
be3a464527
commit
624a6bca3b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user