From 4ed599403ea7815366bdc5a272ee3f92cdf83534 Mon Sep 17 00:00:00 2001 From: Benau Date: Mon, 10 Oct 2016 08:47:10 +0800 Subject: [PATCH] Show a message when a life gained --- src/karts/controller/spare_tire_ai.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/karts/controller/spare_tire_ai.cpp b/src/karts/controller/spare_tire_ai.cpp index abdaa8697..0a9eb6ab5 100644 --- a/src/karts/controller/spare_tire_ai.cpp +++ b/src/karts/controller/spare_tire_ai.cpp @@ -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