about summary refs log tree commit diff
path: root/src/engine/client/client.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-17 13:28:15 +0100
committeroy <Tom_Adams@web.de>2011-01-17 13:28:15 +0100
commitbf6fcc20f4a9cccab0470d5848a2401bd0bfe93e (patch)
treea945e41ad55c5a0d5877e60e3eefa90e563e907a /src/engine/client/client.cpp
parent40f6740742c7d967038abdd5a582d8b50712d1b2 (diff)
downloadzcatch-bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e.tar.gz
zcatch-bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e.zip
added an error popup on startup when the sound couldn't be initialised. Closes #425
Diffstat (limited to 'src/engine/client/client.cpp')
-rw-r--r--src/engine/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 9b8c4151..3652b272 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -1803,7 +1803,7 @@ void CClient::Run()
 	m_pEditor->Init();
 
 	// init sound, allowed to fail
-	Sound()->Init();
+	m_SoundInitFailed = Sound()->Init() != 0;
 
 	// load data
 	if(!LoadData())