Fixes sign-compare warnings
This commit is contained in:
parent
a1494e938a
commit
9b0f5d9b0d
41 changed files with 109 additions and 108 deletions
|
|
@ -524,7 +524,7 @@ DEFINE_ACTION_FUNCTION(_PlayerInfo, SetSkin)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
PARAM_INT(skinIndex);
|
||||
if (skinIndex >= 0 && skinIndex < Skins.size())
|
||||
if (skinIndex >= 0 && skinIndex < Skins.SSize())
|
||||
{
|
||||
// commented code - cvar_set calls this automatically, along with saving the skin selection.
|
||||
//self->userinfo.SkinNumChanged(skinIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue