From ee32970aad904f8325fb1b2558a613c27cbb4df5 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Thu, 2 Jan 2025 20:14:04 +0300 Subject: [PATCH] Fix wrong spray decal being used on save-restore if tempdecal.wad doesn't exist. Fix #239 --- dlls/player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/player.cpp b/dlls/player.cpp index 21b636b24..6f1399e66 100644 --- a/dlls/player.cpp +++ b/dlls/player.cpp @@ -3040,6 +3040,8 @@ void CBasePlayer::Precache( void ) m_iUpdateTime = 5; // won't update for 1/2 a second + m_nCustomSprayFrames = -1; + if( gInitHUD ) m_fInitHUD = TRUE;