More sizeof

This commit is contained in:
Diavolo 2021-05-12 10:54:06 +02:00
parent bd0bbfcf8a
commit f38c0ff951
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -18,7 +18,7 @@ namespace videos
if (vid != video_replaces.end())
{
char path[256];
game::Sys_BuildAbsPath(path, 256, game::SF_VIDEO, vid->second.data(), ".bik");
game::Sys_BuildAbsPath(path, sizeof(path), game::SF_VIDEO, vid->second.data(), ".bik");
if (game::Sys_FileExists(path))
{