Forbid setting volume to 0, OpenAL doesn't seem to appreciate

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-11-20 19:41:14 +00:00
parent 466e65b3d7
commit 557216d87e

View File

@ -35,7 +35,7 @@
<label proportion="1" height="100%" text_align="right" I18N="Music volume in options" text="Volume"/>
<div proportion="1" height="40" layout="horizontal-row" >
<spacer width="40" height="100%" />
<gauge id="music_volume" proportion="1" height="100%" min_value="0" max_value="10"/>
<gauge id="music_volume" proportion="1" height="100%" min_value="1" max_value="10"/>
</div>
</div>
@ -54,7 +54,7 @@
<label proportion="1" height="100%" text_align="right" I18N="Sound volume in options" text="Volume"/>
<div proportion="1" height="40" layout="horizontal-row" >
<spacer width="40" height="100%" />
<gauge id="sfx_volume" proportion="1" height="100%" min_value="0" max_value="10"/>
<gauge id="sfx_volume" proportion="1" height="100%" min_value="1" max_value="10"/>
</div>
</div>