summaryrefslogtreecommitdiff
path: root/src/server/game/Globals/ObjectMgr.cpp
diff options
context:
space:
mode:
authorsudlud <sudlud@users.noreply.github.com>2024-01-21 11:33:00 +0100
committerGitHub <noreply@github.com>2024-01-21 07:33:00 -0300
commite447351b0fdb9a2d820f76b3a6cf5712d2e8b9c3 (patch)
tree1e6f5a7d6ac7dac76fc2b9464d5a860f5ef07b4e /src/server/game/Globals/ObjectMgr.cpp
parenta7e098af0c0ca6c76a2853b391e49f7111e6dcab (diff)
fix(Core/Creature): Remove automated z spawn correction (#18200)
* fix(Core/Creature): Remove automated z spawn correction * comment out unused parameter * remove gridLoad parameter from Creature::LoadCreatureFromDB()
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 7d09dacc22..484c76c377 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -2466,7 +2466,7 @@ uint32 ObjectMgr::AddCreData(uint32 entry, uint32 mapId, float x, float y, float
if (!map->Instanceable() && !map->IsRemovalGrid(x, y))
{
Creature* creature = new Creature();
- if (!creature->LoadCreatureFromDB(spawnId, map, true, false, true))
+ if (!creature->LoadCreatureFromDB(spawnId, map, true, true))
{
LOG_ERROR("sql.sql", "AddCreature: Cannot add creature entry {} to map", entry);
delete creature;