1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 06:30:41 +00:00

shmup:: fixed collision detections in quotient spaces (still not perfect but fast)

This commit is contained in:
Zeno Rogue 2024-10-05 10:00:52 +02:00
parent 2b05f5d490
commit 4119b6f1d0

View File

@ -130,7 +130,7 @@ vector<monster*> active, nonvirtual, additional;
cell *findbaseAround(shiftpoint p, cell *around, int maxsteps) {
if(fake::split()) {
if(quotient || fake::split()) {
auto p0 = inverse_shift(ggmatrix(around), p);
virtualRebase(around, p0);
return around;