Show a message when a life gained
This commit is contained in:
parent
fdcb4dac8d
commit
4ed599403e
@ -140,6 +140,7 @@ void SpareTireAI::crashed(const AbstractKart *k)
|
|||||||
|
|
||||||
// Otherwise increase one life for that kart and unspawn
|
// Otherwise increase one life for that kart and unspawn
|
||||||
m_world->addKartLife(k->getWorldKartId());
|
m_world->addKartLife(k->getWorldKartId());
|
||||||
|
World::getWorld()->getRaceGUI()->addMessage(_("+1 life."), k, 2.0f);
|
||||||
unspawn();
|
unspawn();
|
||||||
|
|
||||||
} // crashed
|
} // crashed
|
||||||
|
Loading…
Reference in New Issue
Block a user