From 72a9ce082a9d958afac60a8eee5454c2d39de125 Mon Sep 17 00:00:00 2001 From: KPhoenix Date: Sat, 23 Mar 2024 20:55:07 -0400 Subject: [PATCH] Revise draw order again --- Source/engine/render/scrollrt.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/engine/render/scrollrt.cpp b/Source/engine/render/scrollrt.cpp index 67381a92289..0fdc74888b9 100644 --- a/Source/engine/render/scrollrt.cpp +++ b/Source/engine/render/scrollrt.cpp @@ -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);