Skip to content

Commit bf1dac9

Browse files
committed
xrGame: replace sscanf_s to sscanf
1 parent 5fb4803 commit bf1dac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrGame/game_sv_mp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ void game_sv_mp::OnVoteStart(LPCSTR VoteCommand, ClientID sender)
10701070
{
10711071
string256 LevelName;
10721072
string256 LevelVersion;
1073-
sscanf_s(CommandParams, "%255s %255s", LevelName, sizeof(LevelName), LevelVersion, sizeof(LevelVersion));
1073+
sscanf(CommandParams, "%255s %255s", LevelName, LevelVersion);
10741074
#ifdef DEBUG
10751075
Msg("--- Starting vote for changing level to: %s[%s]", LevelName, LevelVersion);
10761076
#endif // #ifdef DEBUG

0 commit comments

Comments
 (0)