Fixed #2183 (bomb hands moving backwards).
This commit is contained in:
parent
309097b0db
commit
ee33c46797
@ -139,6 +139,7 @@ void Attachment::set(AttachmentType type, float time,
|
|||||||
break;
|
break;
|
||||||
case ATTACH_BOMB:
|
case ATTACH_BOMB:
|
||||||
m_node->setMesh(attachment_manager->getMesh(type));
|
m_node->setMesh(attachment_manager->getMesh(type));
|
||||||
|
m_node->setAnimationSpeed(0);
|
||||||
if (m_bomb_sound) m_bomb_sound->deleteSFX();
|
if (m_bomb_sound) m_bomb_sound->deleteSFX();
|
||||||
m_bomb_sound = SFXManager::get()->createSoundSource("clock");
|
m_bomb_sound = SFXManager::get()->createSoundSource("clock");
|
||||||
m_bomb_sound->setLoop(true);
|
m_bomb_sound->setLoop(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user