fix boss indicator
This commit is contained in:
parent
ec0a2f277d
commit
2417763155
1 changed files with 3 additions and 3 deletions
|
@ -657,6 +657,9 @@ void stage_draw_hud(void) {
|
|||
glPopMatrix();
|
||||
}
|
||||
|
||||
// Warning: pops matrix!
|
||||
stage_draw_hud_text(&labels);
|
||||
|
||||
// Boss indicator ("Enemy")
|
||||
if(global.boss) {
|
||||
float red = 0.5*exp(-0.5*(global.frames-global.boss->lastdamageframe)); // hit indicator
|
||||
|
@ -666,7 +669,4 @@ void stage_draw_hud(void) {
|
|||
draw_texture(VIEWPORT_X+creal(global.boss->pos), 590, "boss_indicator");
|
||||
glColor4f(1,1,1,1);
|
||||
}
|
||||
|
||||
// Warning: pops matrix!
|
||||
stage_draw_hud_text(&labels);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue