Added fused speed-position commands to the commands to be dropped
when the sfx queue is too full.
This commit is contained in:
parent
43f9cf39bc
commit
9eab818d53
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user