Remove the last SINT8 handling skin indices

Thanks to Callmore's insistence on me sweeping through functions that
return -1 on error.
This commit is contained in:
X.organic 2022-08-21 11:50:02 +02:00
parent 477c848615
commit b4ebbbad89
No known key found for this signature in database
GPG key ID: E8A896BE6A3BC4E0

View file

@ -2381,7 +2381,7 @@ static void M_ChangeCvar(INT32 choice)
{
if (cv == &cv_playercolor)
{
SINT8 skinno = R_SkinAvailable(cv_chooseskin.string);
INT32 skinno = R_SkinAvailable(cv_chooseskin.string);
if (skinno != -1)
CV_SetValue(cv,skins[skinno].prefcolor);
return;