mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +00:00
fixed rebase in sph_in_low
This commit is contained in:
parent
0e83580199
commit
014b4a8b23
@ -250,7 +250,7 @@ horo_distance::horo_distance(shiftpoint h1, const shiftmatrix& T) {
|
||||
#endif
|
||||
if(sn::in() || mhybrid || nil) become(inverse_shift(T, h1));
|
||||
else
|
||||
a = 0, b = intval(h1.h, unshift(tC0(T), h1.shift));
|
||||
a = 0, b = intval(h1.h, unshift(T * tile_center(), h1.shift));
|
||||
}
|
||||
|
||||
bool horo_distance::operator < (const horo_distance z) const {
|
||||
|
@ -154,7 +154,7 @@ cell *findbaseAround(shiftpoint p, cell *around, int maxsteps) {
|
||||
}
|
||||
|
||||
cell *findbaseAround(const shiftmatrix& H, cell *around, int maxsteps) {
|
||||
return findbaseAround(tC0(H), around, maxsteps);
|
||||
return findbaseAround(H * tile_center(), around, maxsteps);
|
||||
}
|
||||
|
||||
/* double distance(hyperpoint h) {
|
||||
|
Loading…
Reference in New Issue
Block a user