mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
fixed the Mimic rotation
This commit is contained in:
parent
6edc257f28
commit
ae19323e00
@ -2052,7 +2052,7 @@ bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) {
|
|||||||
if(d>=4) cw += 2;
|
if(d>=4) cw += 2;
|
||||||
transmatrix Vs = Vparam;
|
transmatrix Vs = Vparam;
|
||||||
bool mirr = cw.mirrored;
|
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);
|
nospins = applyAnimation(cwt.at, Vs, footphase, LAYER_SMALL);
|
||||||
if(!nospins) Vs = Vs * ddspin(c, cwt.spin);
|
if(!nospins) Vs = Vs * ddspin(c, cwt.spin);
|
||||||
if(mirr) Vs = Vs * Mirror;
|
if(mirr) Vs = Vs * Mirror;
|
||||||
|
Loading…
Reference in New Issue
Block a user