mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
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:
parent
477c848615
commit
b4ebbbad89
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue