removed calc_relative_matrix with direction hint; used adj in more places

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

No files matched your search

+1 -1
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 {