summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r--src/entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 1882c3b5..42afd2e0 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -535,7 +535,7 @@ CEntity::ResolveReferences(void)
for(ref = m_pFirstReference; ref->next; ref = ref->next)
;
ref->next = CReferences::pEmptyList;
- CReferences::pEmptyList = ref;
+ CReferences::pEmptyList = m_pFirstReference;
m_pFirstReference = nil;
}
}