Revert "Rate limit saving to at most once a second"

This reverts commit f26dce39c33c1eac53a453f3629fa98f1b101473.

No easy mode I guess
This commit is contained in:
Michael Cook (mackal) 2016-08-09 21:30:10 -04:00
parent 27f6826fd3
commit 7d62b208ca
2 changed files with 0 additions and 9 deletions

View File

@ -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;
}

View File

@ -1463,9 +1463,6 @@ private:
Timer helm_toggle_timer;
Timer light_update_timer;
time_t m_lastsave;
glm::vec3 m_Proximity;
void BulkSendInventoryItems();