Corrected bug where Shift and Kaleidoscope magic tools would crash when sound was disabled.
This commit is contained in:
parent
9a3b9bec14
commit
f2c7277d06
2 changed files with 11 additions and 3 deletions
|
|
@ -9,12 +9,17 @@ http://www.tuxpaint.org/
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
|
|
||||||
2007.November.27 (0.9.19)
|
2007.December.1 (0.9.19)
|
||||||
* Localization Updates:
|
* Localization Updates:
|
||||||
---------------------
|
---------------------
|
||||||
* Danish translation
|
* Danish translation
|
||||||
Joe Hansen <joedalton2@yahoo.dk>
|
Joe Hansen <joedalton2@yahoo.dk>
|
||||||
|
|
||||||
|
* Bug Fixes
|
||||||
|
---------
|
||||||
|
* Corrected bug where Shift and Kaleidoscope magic tools would crash
|
||||||
|
when sound was disabled.
|
||||||
|
|
||||||
|
|
||||||
2007.November.17 (0.9.18)
|
2007.November.17 (0.9.18)
|
||||||
* Interface Improvements:
|
* Interface Improvements:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
June 14, 2002 - November 21, 2007
|
June 14, 2002 - December 1, 2007
|
||||||
$Id$
|
$Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -17181,7 +17181,10 @@ void special_notify(int flags)
|
||||||
void magic_stopsound(void)
|
void magic_stopsound(void)
|
||||||
{
|
{
|
||||||
#ifndef NOSOUND
|
#ifndef NOSOUND
|
||||||
Mix_HaltChannel(0);
|
if (mute || !use_sound)
|
||||||
|
return;
|
||||||
|
|
||||||
|
Mix_HaltChannel(0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue