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 committed 2022-08-21 11:50:02 +02:00
1 parent 477c848615
commit b4ebbbad89
1 file changed
+1 -1
+1 -1
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;