mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-21 06:04:20 +00:00
Update Entity.cpp
This commit is contained in:
@@ -326,7 +326,6 @@ void Entity::Initialize() {
|
|||||||
NiQuaternion rot = QuatUtils::IDENTITY;
|
NiQuaternion rot = QuatUtils::IDENTITY;
|
||||||
|
|
||||||
auto* targetScene = Game::entityManager->GetSpawnPointEntity(targetSceneName);
|
auto* targetScene = Game::entityManager->GetSpawnPointEntity(targetSceneName);
|
||||||
LOG("args %i (%s) %i", m_Character->HasBeenToWorld(mapID), targetSceneName.c_str(), targetScene != nullptr);
|
|
||||||
if (m_Character->HasBeenToWorld(mapID) && targetSceneName.empty()) {
|
if (m_Character->HasBeenToWorld(mapID) && targetSceneName.empty()) {
|
||||||
pos = m_Character->GetRespawnPoint(mapID);
|
pos = m_Character->GetRespawnPoint(mapID);
|
||||||
rot = Game::zoneManager->GetZone()->GetSpawnRot();
|
rot = Game::zoneManager->GetZone()->GetSpawnRot();
|
||||||
|
|||||||
Reference in New Issue
Block a user