From bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 17 Jan 2011 13:28:15 +0100 Subject: added an error popup on startup when the sound couldn't be initialised. Closes #425 --- src/engine/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/client/client.cpp') 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()) -- cgit 1.4.1