1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the sphere subdir weirdness

This commit is contained in:
Zeno Rogue 2017-10-29 10:49:34 +01:00
parent 016ade10c6
commit ce3c066b0f

View File

@ -2319,7 +2319,6 @@ void drawMovementArrows(cell *c, transmatrix V) {
if((c->type & 1) && (isStunnable(c->monst) || c->wall == waThumperOn)) { if((c->type & 1) && (isStunnable(c->monst) || c->wall == waThumperOn)) {
transmatrix Centered = rgpushxto0(tC0(cwtV)); transmatrix Centered = rgpushxto0(tC0(cwtV));
int sd = md.subdir; int sd = md.subdir;
if(sphere) sd = -sd;
queuepoly(inverse(Centered) * rgpushxto0(Centered * tC0(V)) * rspintox(Centered*tC0(V)) * spin(-sd * M_PI/S7) * xpush(0.2), shArrow, col); queuepoly(inverse(Centered) * rgpushxto0(Centered * tC0(V)) * rspintox(Centered*tC0(V)) * spin(-sd * M_PI/S7) * xpush(0.2), shArrow, col);
} }
else break; else break;