DEADSOFTWARE

Game: Fix magic value check of gSpectMode
[d2df-sdl.git] / src / game / g_game.pas
index 8e3f80845b6be7acf54a4a67544da68c3b1e0c19..2fd8408553a14a0c8efa24b8a4653d9972d44c34 100644 (file)
@@ -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