Update Entity.cpp

This commit is contained in:
David Markowitz
2026-06-20 04:09:25 -07:00
parent 1535334a8e
commit c0d99ac5b1

View File

@@ -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();