Make it consistent with attachment rewind when eating banana with bomb
This commit is contained in:
parent
51f8884881
commit
2fafe495dd
@ -354,6 +354,12 @@ void Attachment::hitBanana(ItemState *item_state)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make it consistent with attachment rewind when eating banana with bomb
|
||||||
|
// see if (m_type == ATTACH_BOMB && m_kart->getKartAnimation() != NULL)
|
||||||
|
// in 515
|
||||||
|
if (m_kart->getKartAnimation())
|
||||||
|
return;
|
||||||
|
|
||||||
AttachmentType new_attachment = ATTACH_NOTHING;
|
AttachmentType new_attachment = ATTACH_NOTHING;
|
||||||
const KartProperties *kp = m_kart->getKartProperties();
|
const KartProperties *kp = m_kart->getKartProperties();
|
||||||
// Use this as a basic random number to make sync with server easier.
|
// Use this as a basic random number to make sync with server easier.
|
||||||
|
Loading…
Reference in New Issue
Block a user