Fix TableLookup typo.

This commit is contained in:
/dev/urandom 2016-04-04 00:03:42 +02:00
parent cdd3864d57
commit 2e2b58cff7
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 "";

View File

@ -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*);