From 4a6239bbbf5b5ab78c8d7eebb7afeeb79601ff43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 28 Sep 2026 03:39:31 +0200 Subject: 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) --- src/KingSystem/Map/mapObject.cpp | 2 +- src/KingSystem/Map/mapObject.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/KingSystem/Map') diff --git a/src/KingSystem/Map/mapObject.cpp b/src/KingSystem/Map/mapObject.cpp index f2173ac5..10c94cbb 100644 --- a/src/KingSystem/Map/mapObject.cpp +++ b/src/KingSystem/Map/mapObject.cpp @@ -327,7 +327,7 @@ Object* Object::findPlacementLODLinkObject(const PlacementActors*) const { return nullptr; } -Object* Object::findPlacementLODLinkObject() const { +Object* Object::findPlacementLODLinkObject_0(const PlacementActors*) const { if (!mLinkData) return nullptr; diff --git a/src/KingSystem/Map/mapObject.h b/src/KingSystem/Map/mapObject.h index e3634c80..5233846d 100644 --- a/src/KingSystem/Map/mapObject.h +++ b/src/KingSystem/Map/mapObject.h @@ -150,7 +150,7 @@ public: void getUniqueName(const char** out) const; Object* findPlacementLODLinkObject(const PlacementActors* unused) const; - Object* findPlacementLODLinkObject() const; + Object* findPlacementLODLinkObject_0(const PlacementActors* unused) const; const char* getHashIdStringDebug() const; const char* getHashIdStringDebug_0() const; -- cgit v1.2.3