Fix Wrong Way message, fixes #3159
This commit is contained in:
parent
a27dd674a0
commit
41cd33ce55
@ -893,6 +893,7 @@ void LinearWorld::checkForWrongDirection(unsigned int i, float dt)
|
||||
|
||||
if (wrongway_counter > 1.0f)
|
||||
{
|
||||
m_race_gui->cleanupMessages(0.0f);
|
||||
m_race_gui->addMessage(_("WRONG WAY!"), kart,
|
||||
/* time */ -1.0f,
|
||||
video::SColor(255,255,255,255),
|
||||
|
@ -185,7 +185,6 @@ protected:
|
||||
|
||||
RaceGUIMultitouch* m_multitouch_gui;
|
||||
|
||||
void cleanupMessages(const float dt);
|
||||
//void createMarkerTexture();
|
||||
void createRegularPolygon(unsigned int n, float radius,
|
||||
const core::vector2df ¢er,
|
||||
@ -248,6 +247,8 @@ public:
|
||||
const core::recti &viewport,
|
||||
const core::vector2df &scaling) {};
|
||||
|
||||
void cleanupMessages(const float dt);
|
||||
|
||||
}; // RaceGUIBase
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user