mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-13 08:38:59 +00:00
engine: soundlib: fix sizeof parameter in previous commit, I'm an idiot
This commit is contained in:
parent
64166c7d82
commit
4ed562697b
@ -101,7 +101,7 @@ uint GAME_EXPORT Sound_GetApproxWavePlayLen( const char *filepath )
|
|||||||
size_t filesize;
|
size_t filesize;
|
||||||
uint msecs;
|
uint msecs;
|
||||||
|
|
||||||
Q_strncpy( name, filepath, sizeof( filepath ));
|
Q_strncpy( name, filepath, sizeof( name ));
|
||||||
COM_FixSlashes( name );
|
COM_FixSlashes( name );
|
||||||
|
|
||||||
f = FS_Open( name, "rb", false );
|
f = FS_Open( name, "rb", false );
|
||||||
|
Loading…
Reference in New Issue
Block a user