mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +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;
|
||||
uint msecs;
|
||||
|
||||
Q_strncpy( name, filepath, sizeof( filepath ));
|
||||
Q_strncpy( name, filepath, sizeof( name ));
|
||||
COM_FixSlashes( name );
|
||||
|
||||
f = FS_Open( name, "rb", false );
|
||||
|
Loading…
Reference in New Issue
Block a user