mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
More sizeof
This commit is contained in:
parent
bd0bbfcf8a
commit
f38c0ff951
@ -18,7 +18,7 @@ namespace videos
|
|||||||
if (vid != video_replaces.end())
|
if (vid != video_replaces.end())
|
||||||
{
|
{
|
||||||
char path[256];
|
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))
|
if (game::Sys_FileExists(path))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user