Removed unnecessary cast.
This commit is contained in:
parent
0a2ea4bd08
commit
b73d08d089
@ -141,8 +141,8 @@ float MainLoop::getLimitedDt()
|
|||||||
void MainLoop::updateRace(float dt)
|
void MainLoop::updateRace(float dt)
|
||||||
{
|
{
|
||||||
// The race event manager will update world in case of an online race
|
// The race event manager will update world in case of an online race
|
||||||
if (RaceEventManager::getInstance<RaceEventManager>()->isRunning())
|
if (RaceEventManager::getInstance()->isRunning())
|
||||||
RaceEventManager::getInstance<RaceEventManager>()->update(dt);
|
RaceEventManager::getInstance()->update(dt);
|
||||||
else
|
else
|
||||||
World::getWorld()->updateWorld(dt);
|
World::getWorld()->updateWorld(dt);
|
||||||
} // updateRace
|
} // updateRace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user