fixed shmup in elliptic

This commit is contained in:
Zeno Rogue 2020-08-05 01:27:18 +02:00
parent a7ac7b0894
commit 830a2703dd
1 changed files with 4 additions and 0 deletions

View File

@ -2903,6 +2903,10 @@ bool celldrawer::draw_shmup_monster() {
if(c != m->base) continue; // may happen in RogueViz Collatz
m->pat = ggmatrix(m->base) * m->at;
shiftmatrix view = V * m->at;
bool half_elliptic = elliptic && GDIM == 3 && WDIM == 2;
bool mirrored = det(view.T) > 0;
if(half_elliptic && mirrored) continue;
if(!mouseout()) {
if(m->no_targetting) ; else