- Fixed: translationtables cannot use a TAutoGrowArray because it doesn't
initialize newly added fields when growing. SVN r675 (trunk)
This commit is contained in:
parent
9cdd0b98ce
commit
ed242b32df
5 changed files with 13 additions and 7 deletions
|
|
@ -44,7 +44,7 @@
|
|||
#include "gi.h"
|
||||
#include "stats.h"
|
||||
|
||||
TAutoGrowArray<FRemapTable *> translationtables[NUM_TRANSLATION_TABLES];
|
||||
TArray<FRemapTable *> translationtables[NUM_TRANSLATION_TABLES];
|
||||
|
||||
/****************************************************/
|
||||
/****************************************************/
|
||||
|
|
@ -281,7 +281,7 @@ FRemapTable *TranslationToTable(int translation)
|
|||
{
|
||||
unsigned int type = GetTranslationType(translation);
|
||||
unsigned int index = GetTranslationIndex(translation);
|
||||
TAutoGrowArray<FRemapTable *> *slots;
|
||||
TArray<FRemapTable *> *slots;
|
||||
|
||||
if (type <= 0 || type >= NUM_TRANSLATION_TABLES)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue