Skip to content

Commit

Permalink
Revise draw order again
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Mar 24, 2024
1 parent c07f58e commit 72a9ce0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Source/engine/render/scrollrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1198,16 +1198,14 @@ void DrawView(const Surface &out, Point startPosition)
DrawChatLog(out);
}
if (MyPlayerIsDead) {
RedBack(out);
DrawDeathText(out);
} else if (PauseMode != 0) {
gmenu_draw_pause(out);
}
if (IsDiabloMsgAvailable()) {
DrawDiabloMsg(out.subregionY(0, out.h() - GetMainPanel().size.height));
}
if (MyPlayerIsDead) {
RedBack(out);
} else if (PauseMode != 0) {
gmenu_draw_pause(out);
}

DrawControllerModifierHints(out);
DrawPlrMsg(out);
Expand Down

0 comments on commit 72a9ce0

Please sign in to comment.