Fixes sign-compare warnings
This commit is contained in:
parent
a1494e938a
commit
9b0f5d9b0d
41 changed files with 109 additions and 108 deletions
|
|
@ -68,7 +68,7 @@ void P_RunClientsideLogic()
|
|||
|
||||
if (gamestate == GS_LEVEL || gamestate == GS_TITLELEVEL)
|
||||
{
|
||||
for (int i = 0; i < MAXPLAYERS; ++i)
|
||||
for (uint i = 0; i < MAXPLAYERS; ++i)
|
||||
{
|
||||
if (playeringame[i] && players[i].inventorytics > 0)
|
||||
--players[i].inventorytics;
|
||||
|
|
@ -147,7 +147,7 @@ void P_ClearLevelInterpolation()
|
|||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < MAXPLAYERS; i++)
|
||||
for (uint i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i])
|
||||
{
|
||||
|
|
@ -171,7 +171,7 @@ void P_ClearLevelInterpolation()
|
|||
//
|
||||
void P_Ticker (void)
|
||||
{
|
||||
int i;
|
||||
uint i;
|
||||
|
||||
for (auto Level : AllLevels())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue