- Oh my goodness, maybe I need to try compiling things before committing them!

SVN r3181 (trunk)
This commit is contained in:
Randy Heit 2011-04-14 21:48:48 +00:00
parent dd5e8e9333
commit 37b7595db7
1 changed files with 1 additions and 1 deletions

View File

@ -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;