1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

fixed the Mimic rotation

This commit is contained in:
Zeno Rogue 2018-08-21 11:54:14 +02:00
parent 6edc257f28
commit ae19323e00

View File

@ -2052,7 +2052,7 @@ bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) {
if(d>=4) cw += 2;
transmatrix Vs = Vparam;
bool mirr = cw.mirrored;
Vs = Vs * ddspin(c, cw.spin-cwt.spin, masterless ? 0 : S42);
Vs = Vs * ddspin(c, cw.spin-cwt.spin, masterless ? 0 : M_PI);
nospins = applyAnimation(cwt.at, Vs, footphase, LAYER_SMALL);
if(!nospins) Vs = Vs * ddspin(c, cwt.spin);
if(mirr) Vs = Vs * Mirror;