Removed unused variable.
This commit is contained in:
parent
e74ef461a4
commit
7fa062881d
@ -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
|
||||
|
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user