Fixed parameter mistake

(Why didn't you tell anything about that, MSVC?)
This commit is contained in:
smallmodel 2024-07-20 22:09:03 +02:00
parent d1e94f3934
commit 89eae68318
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -796,7 +796,7 @@ void R_ScreenShot_f(void) {
Com_sprintf(checkname, MAX_OSPATH, "screenshots/%s.tga", ri.Cmd_Argv(1));
}
if (ri.Cmd_Argc(2) > 2) {
if (ri.Cmd_Argc() > 2) {
width = atoi(ri.Cmd_Argv(2));
height = atoi(ri.Cmd_Argv(3));
}