Skip to content

Commit

Permalink
Scripts: Fix some strings in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Aug 22, 2024
1 parent d5e10a4 commit 9fc834e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/DBScripts/ScriptMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void ScriptMgr::LoadScripts(ScriptMapType scriptType)
auto pool = sPoolMgr.GetPoolCreatures(tmp.searchRadiusOrGuid);
if (pool.isEmpty())
{
sLog.outErrorDb("Table `%s` for script id %u has go-buddy defined by pool (SCRIPT_FLAG_BUDDY_BY_POOL %u set) but pool %u is empty, skipping.", tablename, tmp.id, tmp.data_flags, tmp.searchRadiusOrGuid);
sLog.outErrorDb("Table `%s` for script id %u has buddy defined by pool (SCRIPT_FLAG_BUDDY_BY_POOL %u set) but pool %u is empty, skipping.", tablename, tmp.id, tmp.data_flags, tmp.searchRadiusOrGuid);
continue;
}
}
Expand All @@ -247,7 +247,7 @@ void ScriptMgr::LoadScripts(ScriptMapType scriptType)
uint32 groupEntry = tmp.buddyEntry;
if (sObjectMgr.GetSpawnGroupContainer()->spawnGroupMap.find(groupEntry) == sObjectMgr.GetSpawnGroupContainer()->spawnGroupMap.end())
{
sLog.outErrorDb("Table `%s` for script id %u has go-buddy defined by group (SCRIPT_FLAG_BUDDY_BY_SPAWN_GROUP %u set) but group %u is empty, skipping.", tablename, tmp.id, tmp.data_flags, tmp.searchRadiusOrGuid);
sLog.outErrorDb("Table `%s` for script id %u has buddy defined by group (SCRIPT_FLAG_BUDDY_BY_SPAWN_GROUP %u set) but group %u is empty, skipping.", tablename, tmp.id, tmp.data_flags, tmp.searchRadiusOrGuid);
continue;
}
}
Expand Down

0 comments on commit 9fc834e

Please sign in to comment.