Skip to content

Commit

Permalink
Wrong dedicated condition for CL_SetFrameNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
OM committed May 17, 2023
1 parent 4671aa9 commit 6db89a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/qcommon/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,13 @@ void Com_Frame( void ) {
SV_SetFrameNumber(com_frameNumber);

#ifndef DEDICATED
if (com_dedicated && com_dedicated->integer) {
if (!com_dedicated || !com_dedicated->integer)
{
//
// Update the client frame number
// So stuff like TIKI caches can get refreshed
// And TIKI models can get rendered correctly
//
CL_SetFrameNumber(com_frameNumber);
}
#endif
Expand Down

0 comments on commit 6db89a5

Please sign in to comment.