summaryrefslogtreecommitdiffstats
path: root/src/sound/sound.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-01-04 21:44:16 +0100
committererihel <erihel@gmail.com>2013-01-04 21:44:16 +0100
commitfff9d235e49f5957e6d84b4774ca42c1a6cbcd35 (patch)
treefd43f865a7c97cf43481dfdf56f62a31be6139a3 /src/sound/sound.h
parent1d42c71645548ae86b438c84898a07b539f262ac (diff)
downloadcolobot-fff9d235e49f5957e6d84b4774ca42c1a6cbcd35.tar.gz
colobot-fff9d235e49f5957e6d84b4774ca42c1a6cbcd35.tar.bz2
colobot-fff9d235e49f5957e6d84b4774ca42c1a6cbcd35.zip
* Fixed problem with freeing buffers while conneted to a source resulting with "Unable to unload buffer message"
* Fixed posible segfault while trying to play sound after not loading file properly
Diffstat (limited to 'src/sound/sound.h')
-rw-r--r--src/sound/sound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound/sound.h b/src/sound/sound.h
index 518e2ad..a09c587 100644
--- a/src/sound/sound.h
+++ b/src/sound/sound.h
@@ -47,6 +47,7 @@
**/
enum Sound
{
+ SOUND_NONE = -1,
SOUND_CLICK = 0,
SOUND_BOUM = 1,
SOUND_EXPLO = 2,