mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- Oh my goodness, maybe I need to try compiling things before committing them!
SVN r3181 (trunk)
This commit is contained in:
parent
dd5e8e9333
commit
37b7595db7
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ DWORD *MUSSong2::MakeEvents(DWORD *events, DWORD *max_event_p, DWORD max_time)
|
|||
if (mid1 == 7)
|
||||
{ // Clamp volume to 127, since DMX apparently allows 8-bit volumes.
|
||||
// Fix courtesy of Gez, courtesy of Ben Ryves.
|
||||
mid2 = VolumeControllerChange(channel, MIN(mid2, 0x7F));
|
||||
mid2 = VolumeControllerChange(channel, MIN<int>(mid2, 0x7F));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue