Show a message when a life gained

This commit is contained in:
Benau 2016-10-10 08:47:10 +08:00
parent fdcb4dac8d
commit 4ed599403e

View File

@ -140,6 +140,7 @@ void SpareTireAI::crashed(const AbstractKart *k)
// Otherwise increase one life for that kart and unspawn
m_world->addKartLife(k->getWorldKartId());
World::getWorld()->getRaceGUI()->addMessage(_("+1 life."), k, 2.0f);
unspawn();
} // crashed