summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-04-22 23:36:39 +0200
committerLéo Lam <leo@leolam.fr>2021-04-22 23:39:46 +0200
commit2015796b8014cdbdd472cb1140361e050ceaf758 (patch)
treefb0e437ea42595d7a05a395bf41087f11fce6a49 /src/KingSystem/ActorSystem
parente631e0dc2b3d920f36eeec01413c22195928d885 (diff)
ksys: Fix signature of KingEditorComponent::syncData
The buffer needs to be mutable. ActorParamMgr modifies it for example
Diffstat (limited to 'src/KingSystem/ActorSystem')
-rw-r--r--src/KingSystem/ActorSystem/actActorParamMgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actActorParamMgr.h b/src/KingSystem/ActorSystem/actActorParamMgr.h
index 452c5855..c39c4709 100644
--- a/src/KingSystem/ActorSystem/actActorParamMgr.h
+++ b/src/KingSystem/ActorSystem/actActorParamMgr.h
@@ -30,7 +30,7 @@ class ActorParamMgr final : public sead::hostio::Node, public KingEditorComponen
public:
const char* getName() const override { return "AglXml"; }
- void syncData(const char* data) override;
+ void syncData(char* data) override;
DebugMessage& getDebugMessage() { return mDebugMessage; }
sead::Heap* getDebugHeap() const { return mDebugHeap; }