Replaced uint with unsigned int

This commit is contained in:
Marcus Minhorst 2025-07-19 10:00:49 -04:00 committed by Ricardo Luís Vaz Silva
commit 649ddd7774
31 changed files with 86 additions and 90 deletions

View file

@ -6031,7 +6031,7 @@ void PlayerPointerSubstitution(AActor* oldPlayer, AActor* newPlayer, bool remove
}
// Go through player infos.
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
if (!oldPlayer->Level->PlayerInGame(i))
continue;
@ -6152,7 +6152,7 @@ int MorphPointerSubstitution(AActor* from, AActor* to)
to->MoveBehaviors(*from);
// Go through player infos.
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
if (!from->Level->PlayerInGame(i))
continue;
@ -6388,7 +6388,7 @@ AActor *FLevelLocals::SpawnPlayer (FPlayerStart *mthing, int playernum, int flag
VMCall(func, params, 2, rets, 1);
}
for (uint ii = 0; ii < MAXPLAYERS; ++ii)
for (unsigned int ii = 0; ii < MAXPLAYERS; ++ii)
{
if (PlayerInGame(ii) && Players[ii]->camera == oldactor)
{
@ -6621,7 +6621,7 @@ AActor *FLevelLocals::SpawnMapThing (FMapThing *mthing, int position)
else if (!deathmatch)
{ // Cooperative
mask = 0;
for (uint i = 0; i < MAXPLAYERS; i++)
for (unsigned int i = 0; i < MAXPLAYERS; i++)
{
if (PlayerInGame(i))
{