Removed unused variable.

This commit is contained in:
hiker 2015-12-08 08:08:00 +11:00
parent e74ef461a4
commit 7fa062881d
2 changed files with 0 additions and 4 deletions

View File

@ -11,7 +11,6 @@
NetworkWorld::NetworkWorld()
{
m_running = false;
m_has_run = false;
} // NetworkWorld
// ----------------------------------------------------------------------------
@ -23,8 +22,6 @@ NetworkWorld::~NetworkWorld()
// ----------------------------------------------------------------------------
void NetworkWorld::update(float dt)
{
if (!m_has_run)
m_has_run = true;
SynchronizationProtocol* protocol = static_cast<SynchronizationProtocol*>(
ProtocolManager::getInstance()->getProtocol(PROTOCOL_SYNCHRONIZATION));
if (protocol) // if this protocol exists, that's that we play online

View File

@ -39,7 +39,6 @@ class NetworkWorld : public AbstractSingleton<NetworkWorld>
private:
bool m_running;
float m_race_time;
bool m_has_run;
std::string m_self_kart;
friend class AbstractSingleton<NetworkWorld>;