This commit is contained in:
Benau 2018-11-24 02:39:32 +08:00
parent 6886e1952e
commit 313ca1d902

View File

@ -167,7 +167,11 @@ void GhostKart::update(int ticks)
// Setting again reinitialize the graphical size of the attachment, // Setting again reinitialize the graphical size of the attachment,
// so do so only if the type change // so do so only if the type change
else if (attach_type != m_attachment->getType()) else if (attach_type != m_attachment->getType())
m_attachment->set(attach_type,attach_ticks); {
m_attachment->set(attach_type, attach_ticks, NULL,
/*disable_swatter_animation*/false,
/*set_by_rewind_parachute*/true);
}
// So that the attachment's model size is updated // So that the attachment's model size is updated
m_attachment->update(ticks); m_attachment->update(ticks);