From 2946a612fbcd34306d8e02361dd451681ea7b492 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sat, 3 Sep 2022 22:26:00 -0500 Subject: [PATCH] remove unused headers comment about how controllable physics is the correct way to do this right now they have moving plat comps, and that is not correct --- dScripts/LupGenericInteract.h | 2 -- dScripts/WblRobotCitizen.cpp | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/dScripts/LupGenericInteract.h b/dScripts/LupGenericInteract.h index 9ca6b027..ab431105 100644 --- a/dScripts/LupGenericInteract.h +++ b/dScripts/LupGenericInteract.h @@ -4,6 +4,4 @@ class LupGenericInteract : public CppScripts::Script { public: void OnUse(Entity* self, Entity* user) override; -private: - const uint32_t frakjawChestId = 16486; }; diff --git a/dScripts/WblRobotCitizen.cpp b/dScripts/WblRobotCitizen.cpp index 0647375f..b6f58e05 100644 --- a/dScripts/WblRobotCitizen.cpp +++ b/dScripts/WblRobotCitizen.cpp @@ -1,12 +1,8 @@ #include "WblRobotCitizen.h" #include "GameMessages.h" -#include "MovingPlatformComponent.h" -#include "dLogger.h" - void WblRobotCitizen::OnStartup(Entity* self) { - auto movingPlatformComponent = self->GetComponent(); - if (movingPlatformComponent) movingPlatformComponent->StartPathing(); + // TODO: make it move via controllable physics } void WblRobotCitizen::OnUse(Entity* self, Entity* user) { @@ -19,6 +15,5 @@ void WblRobotCitizen::OnUse(Entity* self, Entity* user) { } void WblRobotCitizen::OnTimerDone(Entity* self, std::string timerName) { - auto movingPlatformComponent = self->GetComponent(); - if (movingPlatformComponent) movingPlatformComponent->ContinuePathing(); + // TODO: make it move via controllable physics }