diff options
| author | Léo Lam <leo@leolam.fr> | 2026-09-28 03:39:31 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-06 03:19:38 +0200 |
| commit | 4a6239bbbf5b5ab78c8d7eebb7afeeb79601ff43 (patch) | |
| tree | 0a5245d45e05662181aee8bcc9dd9a5663136baf /src/KingSystem/ActorSystem/actActorCaptureMgr.cpp | |
| parent | d8da4fc5f2f159f2ea3386d7018e61629759bc09 (diff) | |
ksys: small declaration fixes
setCamera's only caller passes the camera actor, a ksys::act::Actor;
ksys::act::Camera is only forward-declared.
(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/ActorSystem/actActorCaptureMgr.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorCaptureMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp index 32f1525b..1c2c0096 100644 --- a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp +++ b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp @@ -30,7 +30,7 @@ void ActorCaptureMgr::init(const InitArg& arg) { mDummyFile.load("Actor/ActorCapture/Dummy.bactcapt", &req); } -void ActorCaptureMgr::setCamera(Camera* camera) { +void ActorCaptureMgr::setCamera(Actor* camera) { if (camera) mCamera = camera; } |
