summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-19 21:45:58 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-19 21:45:58 +0200
commitfe03ba825ac89184eaa599420767ea1aad2328aa (patch)
tree11197bcceb1d24a9780fd46a888d5b7886cf4b0a
parentfixed dodo bug (diff)
downloadre3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar.gz
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar.bz2
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar.lz
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar.xz
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.tar.zst
re3-fe03ba825ac89184eaa599420767ea1aad2328aa.zip
-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;
}
}