mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
shmup:: fixed collision detections in quotient spaces (still not perfect but fast)
This commit is contained in:
@@ -130,7 +130,7 @@ vector<monster*> active, nonvirtual, additional;
|
|||||||
|
|
||||||
cell *findbaseAround(shiftpoint p, cell *around, int maxsteps) {
|
cell *findbaseAround(shiftpoint p, cell *around, int maxsteps) {
|
||||||
|
|
||||||
if(fake::split()) {
|
if(quotient || fake::split()) {
|
||||||
auto p0 = inverse_shift(ggmatrix(around), p);
|
auto p0 = inverse_shift(ggmatrix(around), p);
|
||||||
virtualRebase(around, p0);
|
virtualRebase(around, p0);
|
||||||
return around;
|
return around;
|
||||||
|
Reference in New Issue
Block a user