Core/Spawns: merged Dynamic Spawning
This commit is contained in:
1 parent
21795a5ae5
commit
b976bc1187
87 files changed
+3200
-1007
No files matched your search
@@ -114,6 +114,14 @@ void ObjectGuidGeneratorBase::HandleCounterOverflow(HighGuid high)
|
||||
World::StopNow(ERROR_EXIT_CODE);
|
||||
}
|
||||
|
||||
void ObjectGuidGeneratorBase::CheckGuidTrigger(ObjectGuid::LowType guidlow)
|
||||
{
|
||||
if (!sWorld->IsGuidAlert() && guidlow > sWorld->getIntConfig(CONFIG_RESPAWN_GUIDALERTLEVEL))
|
||||
sWorld->TriggerGuidAlert();
|
||||
else if (!sWorld->IsGuidWarning() && guidlow > sWorld->getIntConfig(CONFIG_RESPAWN_GUIDWARNLEVEL))
|
||||
sWorld->TriggerGuidWarning();
|
||||
}
|
||||
|
||||
#define GUID_TRAIT_INSTANTIATE_GUID( HIGH_GUID ) \
|
||||
template class TC_GAME_API ObjectGuidGenerator< HIGH_GUID >;
|
||||
|
||||
|
||||
Reference in new issue
Block a user