Added fused speed-position commands to the commands to be dropped

when the sfx queue is too full.
This commit is contained in:
hiker 2015-07-08 08:23:55 +10:00
parent 43f9cf39bc
commit 9eab818d53

View File

@ -257,7 +257,8 @@ void SFXManager::queueCommand(SFXCommand *command)
race_manager->getMinorMode() != RaceManager::MINOR_MODE_CUTSCENE) race_manager->getMinorMode() != RaceManager::MINOR_MODE_CUTSCENE)
{ {
if(command->m_command==SFX_POSITION || command->m_command==SFX_LOOP || if(command->m_command==SFX_POSITION || command->m_command==SFX_LOOP ||
command->m_command==SFX_SPEED ) command->m_command==SFX_SPEED ||
command->m_command==SFX_SPEED_POSITION )
{ {
delete command; delete command;
static int count_messages = 0; static int count_messages = 0;