mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
ACS_GetColorFromString; Fix copypaste error indexing into skin array rather than color array
Discovered while writing the following commit.
This commit is contained in:
parent
fde06aace2
commit
0f266198ca
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ static bool ACS_GetColorFromString(const char *word, skincolornum_t *type)
|
|||
{
|
||||
for (int i = 0; i < numskincolors; i++)
|
||||
{
|
||||
if (fastcmp(word, skins[i].name))
|
||||
if (fastcmp(word, skincolors[i].name))
|
||||
{
|
||||
*type = static_cast<skincolornum_t>(i);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue