1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 17:29:57 +00:00

fixed shmup in elliptic

This commit is contained in:
Zeno Rogue 2020-08-05 01:27:18 +02:00
parent a7ac7b0894
commit 830a2703dd

View File

@ -2904,6 +2904,10 @@ bool celldrawer::draw_shmup_monster() {
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
if(mapeditor::drawplayer || m->type != moPlayer)