Skip to content

Commit

Permalink
Yi-Huang Han - Wed Oct 24 21:55:47 PDT 2001
Browse files Browse the repository at this point in the history
 * Fixed MOD music volume when looping
  • Loading branch information
slouken committed Oct 25, 2001
1 parent 8329dc7 commit b7a6c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,5 +1,7 @@

1.2.1:
Yi-Huang Han - Wed Oct 24 21:55:47 PDT 2001
* Fixed MOD music volume when looping
David Hedbor - Thu Oct 18 10:01:41 PDT 2001
* Stop implicit looping, set fade out and other flags on MOD files
Sam Lantinga - Tue Oct 16 11:17:12 PDT 2001
Expand Down
2 changes: 1 addition & 1 deletion mikmod/mplayer.c
Expand Up @@ -2552,7 +2552,7 @@ void Player_SetVolume(SWORD volume)
{
MUTEX_LOCK(vars);
if (pf)
pf->volume=(volume<0)?0:(volume>128)?128:volume;
pf->volume=pf->initvolume=(volume<0)?0:(volume>128)?128:volume;
MUTEX_UNLOCK(vars);
}

Expand Down

0 comments on commit b7a6c65

Please sign in to comment.