Fix TableLookup typo.
This commit is contained in:
parent
cdd3864d57
commit
2e2b58cff7
@ -59,7 +59,7 @@ namespace Components
|
||||
for (int i = 0; i < challengeTable->rowCount; ++i)
|
||||
{
|
||||
// Find challenge
|
||||
const char* challenge = Game::TabeLookup(challengeTable, i, 0);
|
||||
const char* challenge = Game::TableLookup(challengeTable, i, 0);
|
||||
|
||||
int maxState = 0;
|
||||
int maxProgress = 0;
|
||||
@ -67,7 +67,7 @@ namespace Components
|
||||
// Find correct tier and progress
|
||||
for (int j = 0; j < 10; ++j)
|
||||
{
|
||||
int progress = atoi(Game::TabeLookup(challengeTable, i, 6 + j * 2));
|
||||
int progress = atoi(Game::TableLookup(challengeTable, i, 6 + j * 2));
|
||||
if (!progress) break;
|
||||
|
||||
maxState = j + 2;
|
||||
|
@ -211,7 +211,7 @@ namespace Game
|
||||
}
|
||||
}
|
||||
|
||||
const char* TabeLookup(StringTable* stringtable, int row, int column)
|
||||
const char* TableLookup(StringTable* stringtable, int row, int column)
|
||||
{
|
||||
if (!stringtable || !stringtable->values || row >= stringtable->rowCount || column >= stringtable->columnCount) return "";
|
||||
|
||||
|
@ -387,7 +387,7 @@ namespace Game
|
||||
|
||||
void* ReallocateAssetPool(XAssetType type, unsigned int newSize);
|
||||
void Menu_FreeItemMemory(Game::itemDef_t* item);
|
||||
const char* TabeLookup(StringTable* stringtable, int row, int column);
|
||||
const char* TableLookup(StringTable* stringtable, int row, int column);
|
||||
const char* UI_LocalizeMapName(const char* mapName);
|
||||
const char* UI_LocalizeGameType(const char* gameType);
|
||||
float UI_GetScoreboardLeft(void*);
|
||||
|
Loading…
Reference in New Issue
Block a user