2D3D:: fixed leg movement

This commit is contained in:
Zeno Rogue 2019-05-11 23:52:37 +02:00
parent 44194bd354
commit 53e8006e75
1 changed files with 5 additions and 2 deletions

View File

@ -632,8 +632,11 @@ transmatrix otherbodyparts(const transmatrix& V, color_t col, eMonster who, doub
Tleft = VFOOT * Mirror * xpush(-rightfoot);
}
else {
Tright = V * cspin(0, 2, rightfoot/SCALE * 3);
Tleft = V * Mirror * cspin(2, 0, rightfoot/SCALE * 3);
transmatrix V1 = V;
if(WDIM == 2) V1 = V1 * zpush(geom3::GROIN);
Tright = V1 * cspin(0, 2, rightfoot/SCALE * 3);
Tleft = V1 * Mirror * cspin(2, 0, rightfoot/SCALE * 3);
if(WDIM == 2) Tleft = Tleft * zpush(-geom3::GROIN), Tright = Tright * zpush(-geom3::GROIN);
}
if(who == moWaterElemental && DIM == 2) {