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