1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

fixed facing in E^3

This commit is contained in:
Zeno Rogue 2019-12-07 11:13:58 +01:00
parent 2678ac4743
commit fe180cb6c3

View File

@ -314,6 +314,7 @@ EX bool no_easy_spin() {
}
ld hrmap_standard::spin_angle(cell *c, int d) {
if(WDIM == 3) return SPIN_NOT_AVAILABLE;
ld hexshift = 0;
if(c == c->master->c7 && (S7 % 2 == 0) && BITRUNCATED) hexshift = cgi.hexshift + 2*M_PI/S7;
else if(cgi.hexshift && c == c->master->c7) hexshift = cgi.hexshift;