From 74a29deff311fb7bc51028ae9bf4272d7835cb8c Mon Sep 17 00:00:00 2001 From: Aetias Date: Sat, 12 Oct 2024 16:16:17 +0200 Subject: Remove `elfkill` --- src/Main/Actor/ActorType.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Main') diff --git a/src/Main/Actor/ActorType.cpp b/src/Main/Actor/ActorType.cpp index 39579811..69282898 100644 --- a/src/Main/Actor/ActorType.cpp +++ b/src/Main/Actor/ActorType.cpp @@ -2,10 +2,6 @@ ActorTypeList sActorTypeList; -// Kill duplicate dtors -KILL(_ZN9ActorTypeC2EjPFP5ActorvEPFivE) -KILL(_ZN9ActorTypeD2Ev) - ARM ActorType::ActorType(ActorTypeId id, ActorCreateFunc create, unk32 (*unk_08)()) { this->id = id; this->create = create; -- cgit v1.2.3 From 0b6c727e36a764c1eee496ab80b14a5da00f21c5 Mon Sep 17 00:00:00 2001 From: Aetias Date: Sat, 12 Oct 2024 16:16:32 +0200 Subject: Add `.clang-format` --- src/Main/Actor/ActorType.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Main') diff --git a/src/Main/Actor/ActorType.cpp b/src/Main/Actor/ActorType.cpp index 69282898..ec5f564f 100644 --- a/src/Main/Actor/ActorType.cpp +++ b/src/Main/Actor/ActorType.cpp @@ -3,11 +3,11 @@ ActorTypeList sActorTypeList; ARM ActorType::ActorType(ActorTypeId id, ActorCreateFunc create, unk32 (*unk_08)()) { - this->id = id; + this->id = id; this->create = create; this->unk_08 = unk_08; this->unk_0c = 0; - this->next = NULL; + this->next = NULL; this->Register(); sActorTypeList.tail = this; } @@ -37,13 +37,13 @@ ARM void ActorType::Register() { ARM void ActorType::Unregister() { ActorType *actorType; - ActorType **current = &sActorTypeList.head; + ActorType **current = &sActorTypeList.head; ActorType **previous = NULL; for (actorType = sActorTypeList.head; actorType != NULL; actorType = actorType->next) { if (actorType == this) break; previous = current; - current = &actorType->next; + current = &actorType->next; } if (previous != NULL) { -- cgit v1.2.3