diff options
author | QAston <none@none> | 2010-02-15 20:59:05 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-02-15 20:59:05 +0100 |
commit | 4cd4c4170f70a0715daad52b2f1831b6017d647a (patch) | |
tree | 940a3d602d5c18e770258ac13aae5e57a2444f9e /src/game/Player.cpp | |
parent | 7b434fb1c350ffa6d738cef6fd401c6c184f0204 (diff) |
*Backout some WTF fixes. Do things correctly, or do not touch them at all...
*Really fix windows build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index f83fc526009..fb0b1aebfc4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -286,8 +286,6 @@ UpdateMask Player::updateVisualBits; Player::Player (WorldSession *session): Unit(), m_achievementMgr(this), m_reputationMgr(this) { - m_isSaved = false; - m_speakTime = 0; m_speakCount = 0; @@ -17084,15 +17082,12 @@ bool Player::_LoadHomeBind(QueryResult_AutoPtr result) void Player::SaveToDB() { // delay auto save at any saves (manual, in code, or autosave) - m_isSaved = true; - m_nextSave = sWorld.getConfig(CONFIG_INTERVAL_SAVE); //lets allow only players in world to be saved if (IsBeingTeleportedFar()) { ScheduleDelayedOperation(DELAYED_SAVE_PLAYER); - m_isSaved = false; return; } @@ -17226,7 +17221,6 @@ void Player::SaveToDB() // save pet (hunter pet level and experience and all type pets health/mana). if (Pet* pet = GetPet()) pet->SavePetToDB(PET_SAVE_AS_CURRENT); - m_isSaved = false; } // fast save function for item/money cheating preventing - save only inventory and money state |