diff --git a/zone/client.cpp b/zone/client.cpp index 11799fb9e..cc07fff2c 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -157,7 +157,6 @@ Client::Client(EQStreamInterface* ieqs) m_ZoneSummonLocation(-2.0f,-2.0f,-2.0f), m_AutoAttackPosition(0.0f, 0.0f, 0.0f, 0.0f), m_AutoAttackTargetLocation(0.0f, 0.0f, 0.0f), - m_lastsave(-1), last_region_type(RegionTypeUnsupported) { for(int cf=0; cf < _FilterCount; cf++) @@ -577,10 +576,6 @@ bool Client::Save(uint8 iCommitNow) { if(!ClientDataLoaded()) return false; - // saved less than 2 seconds ago, lets just skip for now - if ((time(nullptr) - m_lastsave) < 2) - return true; - /* Wrote current basics to PP for saves */ m_pp.x = m_Position.x; m_pp.y = m_Position.y; @@ -670,7 +665,6 @@ bool Client::Save(uint8 iCommitNow) { database.SaveCharacterData(this->CharacterID(), this->AccountID(), &m_pp, &m_epp); /* Save Character Data */ - m_lastsave = time(nullptr); return true; } diff --git a/zone/client.h b/zone/client.h index 819d6ed17..dc04fbc1e 100644 --- a/zone/client.h +++ b/zone/client.h @@ -1463,9 +1463,6 @@ private: Timer helm_toggle_timer; Timer light_update_timer; - - time_t m_lastsave; - glm::vec3 m_Proximity; void BulkSendInventoryItems();