diff options
| author | Léo Lam <leo@leolam.fr> | 2021-04-22 23:36:39 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-04-22 23:39:46 +0200 |
| commit | 2015796b8014cdbdd472cb1140361e050ceaf758 (patch) | |
| tree | fb0e437ea42595d7a05a395bf41087f11fce6a49 /src/KingSystem/GameData/gdtManager.cpp | |
| parent | e631e0dc2b3d920f36eeec01413c22195928d885 (diff) | |
ksys: Fix signature of KingEditorComponent::syncData
The buffer needs to be mutable. ActorParamMgr modifies it for example
Diffstat (limited to 'src/KingSystem/GameData/gdtManager.cpp')
| -rw-r--r-- | src/KingSystem/GameData/gdtManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/GameData/gdtManager.cpp b/src/KingSystem/GameData/gdtManager.cpp index 8258bd56..2e392908 100644 --- a/src/KingSystem/GameData/gdtManager.cpp +++ b/src/KingSystem/GameData/gdtManager.cpp @@ -664,7 +664,7 @@ void Manager::destroyRetryBuffer() { } } -void Manager::syncData(const char* data) { +void Manager::syncData(char* data) { const sead::SafeString cmd = data; if (cmd.compare("SyncStart") == 0) { if (util::getDebugHeap()) { |
