Skip to content

Commit

Permalink
Fix longstanding siege bug from modbase import
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Jan 31, 2022
1 parent 43e9a3d commit 235fb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/game/g_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ qboolean ClientUserinfoChanged( int clientNum ) {
}
if ( level.gametype == GT_SIEGE ) {
Q_strcat( buf, sizeof( buf ), va( "siegeclass\\%s\\", className ) );
Q_strcat( buf, sizeof( buf ), va( "sdt\\%i\\", className ) );
Q_strcat( buf, sizeof( buf ), va( "sdt\\%i\\", client->sess.siegeDesiredTeam ) );
}

trap->GetConfigstring( CS_PLAYERS+clientNum, oldClientinfo, sizeof( oldClientinfo ) );
Expand Down

0 comments on commit 235fb9e

Please sign in to comment.