summaryrefslogtreecommitdiff
path: root/src/Main/Actor
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Actor')
-rw-r--r--src/Main/Actor/ActorType.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Main/Actor/ActorType.cpp b/src/Main/Actor/ActorType.cpp
index ec5f564f..cef37bb4 100644
--- a/src/Main/Actor/ActorType.cpp
+++ b/src/Main/Actor/ActorType.cpp
@@ -41,7 +41,9 @@ ARM void ActorType::Unregister() {
ActorType **previous = NULL;
for (actorType = sActorTypeList.head; actorType != NULL; actorType = actorType->next) {
- if (actorType == this) break;
+ if (actorType == this) {
+ break;
+ }
previous = current;
current = &actorType->next;
}