This commit is contained in:
David Markowitz
2023-08-07 20:45:26 -07:00
parent 4fbd536e74
commit 1d4d1414e9
2 changed files with 2 additions and 5 deletions

View File

@@ -708,7 +708,6 @@ void Entity::Initialize() {
MovingPlatformComponent* plat = new MovingPlatformComponent(this, pathName);
m_Components.insert(std::make_pair(eReplicaComponentType::MOVING_PLATFORM, plat));
} else if (path->pathType == PathType::Movement) {
Game::logger->Log("Entity", "is movement %i", GetLOT());
auto movementAIcomp = GetComponent<MovementAIComponent>();
if (!movementAIcomp) {
movementAIcomp = new MovementAIComponent(this, {});