DEADSOFTWARE

holmes: moved non-ui renderer to a better place in global render list
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 21 Sep 2017 12:45:49 +0000 (15:45 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 21 Sep 2017 12:46:57 +0000 (15:46 +0300)
src/game/g_game.pas

index ab843d3c8ca2892df532db9d556978f4e22a7539..97a59594020df6b53b7f4a6371af572becb4e2c5 100644 (file)
@@ -3305,6 +3305,9 @@ begin
         e_DrawLine(2, 0, gScreenHeight div 2, gScreenWidth, gScreenHeight div 2, 0, 0, 0);
     end;
 
+    // draw inspector
+    if (g_holmes_enabled) then g_Holmes_Draw();
+
     if MessageText <> '' then
     begin
       w := 0;
@@ -3495,9 +3498,6 @@ begin
     g_ActiveWindow.Draw();
   end;
 
-  // draw inspector
-  if (g_holmes_enabled) then g_Holmes_Draw();
-
   g_Console_Draw();
 
   if g_debug_Sounds and gGameOn then