Skip to content

Commit

Permalink
tr1/phase/photo: fix z-order issues
Browse files Browse the repository at this point in the history
Resolves #2240.
  • Loading branch information
rr- committed Jan 9, 2025
1 parent 185fd2e commit e8dd777
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tr1/game/phase/phase_photo_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "game/input.h"
#include "game/interpolation.h"
#include "game/music.h"
#include "game/output.h"
#include "game/overlay.h"
#include "game/shell.h"
#include "game/sound.h"
Expand Down Expand Up @@ -112,9 +113,12 @@ static void M_Draw(PHASE *const phase)
Interpolation_Disable();
Game_Draw(false);
Interpolation_Enable();
Output_DrawPolyList();

if (p->status == PS_NONE) {
p->ui->draw(p->ui);
}
Output_DrawPolyList();
}

PHASE *Phase_PhotoMode_Create(void)
Expand Down

0 comments on commit e8dd777

Please sign in to comment.