Mercurial > audlegacy-plugins
diff src/adplug/core/fmc.cxx @ 2866:a31410f560cf
Sprinkle some braces to liven up the if-statements. The compiler likes it better now.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Wed, 06 Aug 2008 22:56:25 +0100 |
parents | 4709ce4e209e |
children |
line wrap: on
line diff
--- a/src/adplug/core/fmc.cxx Wed Aug 06 11:48:18 2008 +0100 +++ b/src/adplug/core/fmc.cxx Wed Aug 06 22:56:25 2008 +0100 @@ -130,6 +130,7 @@ if (tracks[t][k].command == 0x0E) // 0x0E (14): Retrig tracks[t][k].param1 = 3; if (tracks[t][k].command == 0x1A) // 0x1A (26): Volume Slide + { if (tracks[t][k].param1 > tracks[t][k].param2) { tracks[t][k].param1 -= tracks[t][k].param2; @@ -140,6 +141,7 @@ tracks[t][k].param2 -= tracks[t][k].param1; tracks[t][k].param1 = 0; } + } } t++;