diff options
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c7d10029617..a94a63950f5 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -14482,7 +14482,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder ) // since the player may not be bound to the map yet, make sure subsequent // getmap calls won't create new maps - //SetInstanceId(map->GetInstanceId()); + SetInstanceId(map->GetInstanceId()); // if the player is in an instance and it has been reset in the meantime teleport him to the entrance if(GetInstanceId() && !sInstanceSaveManager.GetInstanceSave(GetInstanceId())) @@ -20665,7 +20665,6 @@ bool Player::canSeeSpellClickOn(Creature const *c) const for(SpellClickInfoMap::const_iterator itr = lower; itr != upper; ++itr) { - sLog.outError("%u %u %u %u", (uint32)itr->second.castFlags, itr->second.questId, itr->second.spellId); if(itr->second.questId == 0 || GetQuestStatus(itr->second.questId) == QUEST_STATUS_INCOMPLETE) return true; } |