mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
revert(world): the edit mode world
This reverts commit f6914940. The client's level editor builds a zone's objects
itself from its own files, so a world server that constructs none of them has no use.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,8 @@ void dZoneManager::Initialize(const LWOZONEID& zoneID) {
|
||||
EntityInfo info;
|
||||
info.lot = zoneControlTemplate;
|
||||
|
||||
info.id = ZONE_CONTROL_OBJECT_ID;
|
||||
/* Yep its hardcoded like this in the client too, this exact value. */
|
||||
info.id = 0x3FFF'FFFFFFFELL;
|
||||
Entity* zoneControl = Game::entityManager->CreateEntity(info, nullptr, nullptr, true);
|
||||
m_ZoneControlObject = zoneControl;
|
||||
|
||||
@@ -72,9 +73,7 @@ void dZoneManager::Initialize(const LWOZONEID& zoneID) {
|
||||
|
||||
LOG("Zone prepared in: %llu ms", (endTime - startTime));
|
||||
|
||||
// The vanity objects are server objects the client's editor would not know
|
||||
if (!m_EditMode) VanityUtilities::SpawnVanity();
|
||||
else LOG("Zone %i is in edit mode: no level objects, spawners, triggers or vanity objects were loaded", zoneID.GetMapID());
|
||||
VanityUtilities::SpawnVanity();
|
||||
}
|
||||
|
||||
dZoneManager::~dZoneManager() {
|
||||
|
||||
Reference in New Issue
Block a user