Skip to content

Commit 3d1e0d8

Browse files
committed
xrEngine: fixed sound loading
1 parent 71b9867 commit 3d1e0d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xrEngine/thunderbolt.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void SThunderboltDesc::load(CInifile& pIni, shared_str const& sect)
7878

7979
// sound
8080
m_name = pIni.r_string(sect, "sound");
81+
xr_strcpy(tmp, m_name);
8182
#if defined(LINUX)
8283
while (char* sep = strchr(tmp, '\\')) *sep = '/';
8384
#endif

0 commit comments

Comments
 (0)