From: Stas'M Date: Sun, 2 May 2021 22:00:55 +0000 (+0300) Subject: Game: Fix magic value check of gSpectMode X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=eca2ce778990a23f8252271e8289c9937f85f6c9;p=d2df-sdl.git Game: Fix magic value check of gSpectMode --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 8e3f808..2fd8408 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -3998,7 +3998,8 @@ begin Round(gScreenHeight / 2.75)-(h div 2), MessageText); end; - if IsDrawStat or (gSpectMode = 1) then DrawStat(); + if IsDrawStat or (gSpectMode = SPECT_STATS) then + DrawStat(); if gSpectHUD and (not gChatShow) and (gSpectMode <> SPECT_NONE) and (not gSpectAuto) then begin