This commit is contained in:
Maide
2022-01-16 18:20:03 +00:00
committed by GitHub
parent 94a2e5a3d7
commit 332c71c9b1
+1 -1
View File
@@ -40,7 +40,7 @@ def custom_replacements(output):
for x in range(12):
actorList.append(actorListText.replace("first;", f"{actorCats[x]};") + "\n")
if x == 2:
actorList[x] = actorList[x].replace("Actor*", "Player*")
actorList[x] = actorList[x].replace("Actor*", "struct Player*")
elif "ActorListEntry actorLists[ACTORCAT_MAX];" in line:
output[i] = "struct {\n" + "".join(actorList) + "};"
########################################################