diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-01-03 17:47:07 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 11:47:07 +0100 |
commit | a32b6b8ac4c81128a56b282f20837fb085bdd9e7 (patch) | |
tree | dc78724705a27ed8032372f73fbf5b318abbd630 /src/server/game/Globals/ObjectMgr.cpp | |
parent | 4ea64b515aa952662dce11fd1012c566ae0d2449 (diff) |
Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line
* worldserver.conf
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index bb20dadc9b0..fdd51329b91 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -2314,7 +2314,6 @@ ObjectGuid::LowType ObjectMgr::AddGameObjectData(uint32 entry, uint32 mapId, Pos return spawnId; } - ObjectGuid::LowType ObjectMgr::AddCreatureData(uint32 entry, uint32 mapId, Position const& pos, uint32 spawntimedelay /*= 0*/) { CreatureTemplate const* cInfo = GetCreatureTemplate(entry); @@ -3970,7 +3969,6 @@ void ObjectMgr::LoadPlayerInfo() } } - // Load playercreate skills TC_LOG_INFO("server.loading", "Loading Player Create Skill Data..."); { @@ -6131,7 +6129,6 @@ void ObjectMgr::LoadGossipText() "text7_0, text7_1, BroadcastTextID7, lang7, Probability7, EmoteDelay7_0, Emote7_0, EmoteDelay7_1, Emote7_1, EmoteDelay7_2, Emote7_2 " "FROM npc_text"); - if (!result) { TC_LOG_INFO("server.loading", ">> Loaded 0 npc texts, table is empty!"); @@ -6190,7 +6187,6 @@ void ObjectMgr::LoadGossipText() gOption.BroadcastTextID = 0; } - } } @@ -7047,7 +7043,6 @@ void ObjectMgr::RemoveGraveyardLink(uint32 id, uint32 zoneId, uint32 team, bool bool found = false; - for (; range.first != range.second; ++range.first) { GraveyardData & data = range.first->second; @@ -9680,7 +9675,6 @@ std::string const& ObjectMgr::GetScriptName(uint32 id) const return (id < _scriptNamesStore.size()) ? _scriptNamesStore[id] : empty; } - uint32 ObjectMgr::GetScriptId(std::string const& name) { // use binary search to find the script name in the sorted vector |