mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-31 17:24:15 +00:00
engine: client: move Cbuf_Execute out of Host_InputFrame, cbuf will be executed always at ClientBegin. Fixes #482
This commit is contained in:
parent
d011dccaab
commit
5b387ba36a
@ -2973,12 +2973,12 @@ Host_ClientBegin
|
|||||||
*/
|
*/
|
||||||
void Host_ClientBegin( void )
|
void Host_ClientBegin( void )
|
||||||
{
|
{
|
||||||
// if client is not active, do nothing
|
|
||||||
if( !cls.initialized ) return;
|
|
||||||
|
|
||||||
// exec console commands
|
// exec console commands
|
||||||
Cbuf_Execute ();
|
Cbuf_Execute ();
|
||||||
|
|
||||||
|
// if client is not active, do nothing
|
||||||
|
if( !cls.initialized ) return;
|
||||||
|
|
||||||
// finalize connection process if needs
|
// finalize connection process if needs
|
||||||
CL_CheckClientState();
|
CL_CheckClientState();
|
||||||
|
|
||||||
|
@ -669,8 +669,6 @@ void Host_InputFrame( void )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Cbuf_Execute ();
|
|
||||||
|
|
||||||
if( !in_mouseinitialized )
|
if( !in_mouseinitialized )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user