- Fixed: FArchive::m_NameHash was never initialized.

SVN r2791 (scripting)
This commit is contained in:
Randy Heit 2010-09-16 03:24:04 +00:00
parent 99670b708c
commit 7e60ac1fb8

View file

@ -657,6 +657,10 @@ void FArchive::AttachToFile (FFile &file)
ObjectToArchive.Clear();
ArchiveToObject.Clear();
memset(m_NameHash, 0xFF, sizeof(m_NameHash));
m_Names.Clear();
m_NameStorage.Clear();
m_NumSprites = 0;
m_SpriteMap = new int[sprites.Size()];
for (size_t s = 0; s < sprites.Size(); ++s)