From 2e2b58cff7aa6ecb49022d52fc7aebc01375c0a2 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Mon, 4 Apr 2016 00:03:42 +0200 Subject: [PATCH] Fix TableLookup typo. --- src/Components/Modules/QuickPatch.cpp | 4 ++-- src/Game/Functions.cpp | 2 +- src/Game/Functions.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Components/Modules/QuickPatch.cpp b/src/Components/Modules/QuickPatch.cpp index 9a5a2b20..cb26d2d2 100644 --- a/src/Components/Modules/QuickPatch.cpp +++ b/src/Components/Modules/QuickPatch.cpp @@ -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; diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index d32430b7..04b53069 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -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 ""; diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index e0b860e8..13dcbd5f 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -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*);