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:
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user