Skip to content

Commit 1cc6d74

Browse files
committed
fixed broken char array check
1 parent af36724 commit 1cc6d74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp/src/game/shared/env_projectedvideo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void CEnvProjectedVideo::CreateVideo()
166166
if (!g_pVideo)
167167
return;
168168

169-
if (!m_szVideoFile)
169+
if (!m_szVideoFile[0])
170170
return;
171171

172172
// If we already have a material, destroy & recreate it

0 commit comments

Comments
 (0)