Fixed GM part allocation conflicts, default Sam & Max pitch bend range

svn-id: r5136
This commit is contained in:
Jamieson Christian 2002-10-13 08:15:15 +00:00
parent be120d3a34
commit 2255b212ed

View File

@ -3270,7 +3270,7 @@ void Part::setup(Player *player)
_transpose = 0;
_detune = 0;
_detune_eff = player->_detune;
_pitchbend_factor = 2;
_pitchbend_factor = ((g_scumm->_features & GID_SAMNMAX) ? 2 : 12);
_pitchbend = 0;
_effect_level = 64;
_program = 255;
@ -3297,6 +3297,8 @@ void Part::uninit()
_player = NULL;
_next = NULL;
_prev = NULL;
update_pris(); // In case another player couldn't allocate all its parts
}
void Part::off()