aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Globals/ObjectMgr.cpp
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2015-04-06 13:11:35 +0200
committerRat <gmstreetrat@gmail.com>2015-04-06 13:11:35 +0200
commitc5bbc9287d1e8ae9335598780ebd7db47b522fb2 (patch)
treef7ffca1b811ba599d6504143c1dea73d189562b7 /src/server/game/Globals/ObjectMgr.cpp
parent23e8a3ce2928458649d94408d5deffb67339b1d6 (diff)
Core/GameObjects: fixed build in gcc
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 1b36a085cd4..51063666470 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -1110,17 +1110,17 @@ void ObjectMgr::LoadGameObjectAddons()
}
GameObjectAddon& gameObjectAddon = _gameObjectAddonStore[guid];
- gameObjectAddon.InvisibilityType = InvisibilityType(fields[1].GetUInt8());
+ gameObjectAddon.invisibilityType = InvisibilityType(fields[1].GetUInt8());
gameObjectAddon.InvisibilityValue = fields[2].GetUInt32();
- if (gameObjectAddon.InvisibilityType >= TOTAL_INVISIBILITY_TYPES)
+ if (gameObjectAddon.invisibilityType >= TOTAL_INVISIBILITY_TYPES)
{
TC_LOG_ERROR("sql.sql", "GameObject (GUID: " UI64FMTD ") has invalid InvisibilityType in `gameobject_addon`", guid);
- gameObjectAddon.InvisibilityType = INVISIBILITY_GENERAL;
+ gameObjectAddon.invisibilityType = INVISIBILITY_GENERAL;
gameObjectAddon.InvisibilityValue = 0;
}
- if (gameObjectAddon.InvisibilityType && !gameObjectAddon.InvisibilityValue)
+ if (gameObjectAddon.invisibilityType && !gameObjectAddon.InvisibilityValue)
{
TC_LOG_ERROR("sql.sql", "GameObject (GUID: " UI64FMTD ") has InvisibilityType set but has no InvisibilityValue in `gameobject_addon`, set to 1", guid);
gameObjectAddon.InvisibilityValue = 1;