mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-18 11:19:59 +00:00
fixed shmup in elliptic
This commit is contained in:
parent
a7ac7b0894
commit
830a2703dd
|
@ -2904,6 +2904,10 @@ bool celldrawer::draw_shmup_monster() {
|
||||||
m->pat = ggmatrix(m->base) * m->at;
|
m->pat = ggmatrix(m->base) * m->at;
|
||||||
shiftmatrix view = V * 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(!mouseout()) {
|
||||||
if(m->no_targetting) ; else
|
if(m->no_targetting) ; else
|
||||||
if(mapeditor::drawplayer || m->type != moPlayer)
|
if(mapeditor::drawplayer || m->type != moPlayer)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user