diff --git a/tools/m2ctx.py b/tools/m2ctx.py index c2e50d59fd..0824899f15 100755 --- a/tools/m2ctx.py +++ b/tools/m2ctx.py @@ -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) + "};" ########################################################