1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 22:25:12 +00:00

removed calc_relative_matrix with direction hint; used adj in more places

This commit is contained in:
Zeno Rogue
2019-11-22 14:34:56 +01:00
parent 8fad2bc9d5
commit 2458ec715d
3 changed files with 4 additions and 12 deletions

View File

@@ -2650,7 +2650,7 @@ EX bool drawMonster(const transmatrix& Vparam, int ct, cell *c, color_t col, boo
Vb = Vb * xpush(cgi.tentacle_length - cellgfxdist(c, c->mondir));
}
else if(NONSTDVAR) {
transmatrix T = calc_relative_matrix(c->move(c->mondir), c, c->mondir);
transmatrix T = currentmap->adj(c, c->mondir);
Vb = Vb * T * rspintox(tC0(inverse(T))) * xpush(cgi.tentacle_length);
}
else {