aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Globals/ObjectMgr.cpp
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2019-07-08 12:51:42 +0200
committerGiacomo Pozzoni <giacomopoz@gmail.com>2019-07-08 12:51:42 +0200
commit574a7c8d3d5f5a5660295deb70e905cf4dd756c4 (patch)
treee82828fb825b4f04cb841dc6cb53945d46fc15cc /src/server/game/Globals/ObjectMgr.cpp
parent84b7b2e08ea55575cbe62d795383d4a5341ffd4d (diff)
Core/Misc: More coding standards (#23519)
* Core/Misc: More coding standards * revert part * "void " or more to "void " * fix? reject * remove more double whitespaces * remove more double whitespaces * more standards * more coding standards * More standards * more coding * more coding standards * more coding standards * And more standards
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index ab847c2b1c8..ef677ef8ea3 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -1699,7 +1699,7 @@ void ObjectMgr::LoadLinkedRespawn()
ObjectGuid::LowType guidLow = fields[0].GetUInt32();
ObjectGuid::LowType linkedGuidLow = fields[1].GetUInt32();
- uint8 linkType = fields[2].GetUInt8();
+ uint8 linkType = fields[2].GetUInt8();
ObjectGuid guid, linkedGuid;
bool error = false;
@@ -8186,7 +8186,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
uint8 userType = fields[3].GetUInt16();
if (userType >= SPELL_CLICK_USER_MAX)
- TC_LOG_ERROR("sql.sql", "Table npc_spellclick_spells creature: %u references unknown user type %u. Skipping entry.", npc_entry, uint32(userType));
+ TC_LOG_ERROR("sql.sql", "Table npc_spellclick_spells creature: %u references unknown user type %u. Skipping entry.", npc_entry, uint32(userType));
uint8 castFlags = fields[2].GetUInt8();
SpellClickInfo info;
@@ -9377,7 +9377,7 @@ void ObjectMgr::AddVendorItem(uint32 entry, uint32 item, int32 maxcount, uint32
bool ObjectMgr::RemoveVendorItem(uint32 entry, uint32 item, bool persist /*= true*/)
{
- CacheVendorItemContainer::iterator iter = _cacheVendorItemStore.find(entry);
+ CacheVendorItemContainer::iterator iter = _cacheVendorItemStore.find(entry);
if (iter == _cacheVendorItemStore.end())
return false;