Match Actor::getCharacterController

This commit is contained in:
RobbyV2
2026-07-28 21:08:32 -04:00
parent 88da953350
commit ab0fe61df9
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -92268,7 +92268,7 @@ Address,Quality,Size,Name
0x00000071011d77b0,U,000920,Actor::onEnterDelete
0x00000071011d7b48,U,000092,Actor::preSleep
0x00000071011d7ba4,U,000092,Actor::preWakeUp
0x00000071011d7c00,U,000024,_ZN4ksys3act5Actor22getCharacterControllerEv
0x00000071011d7c00,O,000024,_ZN4ksys3act5Actor22getCharacterControllerEv
0x00000071011d7c18,U,000056,Actor::getPhysicsMainBody
0x00000071011d7c50,U,000024,Actor::m45
0x00000071011d7c68,U,000444,Actor::updateMtxFromPhysics
Can't render this file because it is too large.
+7
View File
@@ -3,6 +3,7 @@
#include "KingSystem/ActorSystem/actAiRoot.h"
#include "KingSystem/ActorSystem/actBaseProcLink.h"
#include "KingSystem/ActorSystem/actBaseProcMgr.h"
#include "KingSystem/Physics/System/physInstanceSet.h"
namespace ksys::act {
@@ -81,4 +82,10 @@ int Actor::handleMessage(const Message& message) {
}
}
phys::CharacterController* Actor::getCharacterController() {
if (!mPhysics)
return nullptr;
return mPhysics->getCharacterController();
}
} // namespace ksys::act
@@ -58,6 +58,7 @@ public:
const sead::SafeString& getName() const { return mName; }
const ParamSet* getParamSet() const { return mParamSet; }
CharacterController* getCharacterController() const { return mCharacterController; }
void setFlag2();
void clothVisibleStuff();