mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-02 22:44:08 +00:00
shmup:: fixed collision detections in quotient spaces (still not perfect but fast)
This commit is contained in:
parent
2b05f5d490
commit
4119b6f1d0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user