ACS_GetColorFromString; Fix copypaste error indexing into skin array rather than color array

Discovered while writing the following commit.
This commit is contained in:
toaster 2023-05-27 18:48:21 +01:00
parent fde06aace2
commit 0f266198ca

View file

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