mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 23:32:02 +00:00
- Fixed: FArchive::m_NameHash was never initialized.
SVN r2791 (scripting)
This commit is contained in:
parent
99670b708c
commit
7e60ac1fb8
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue