From dc635279c4edaa18a54e37b45b07a4ed201f7c02 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Tue, 11 Apr 2017 02:19:41 +0500 Subject: [PATCH] Spawn on click. --- cl_dll/input.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cl_dll/input.cpp b/cl_dll/input.cpp index 40958f24..18aeda28 100644 --- a/cl_dll/input.cpp +++ b/cl_dll/input.cpp @@ -897,7 +897,10 @@ int CL_ButtonBits( int bResetState ) if( in_attack.state & 3 ) { if( gHUD.m_MOTD.m_bShow ) + { gHUD.m_MOTD.Reset(); + gEngfuncs.pfnClientCmd( "_firstspawn\n" ); + } else bits |= IN_ATTACK; }