Fix compile warnings.

This commit is contained in:
Edoardo Prezioso 2020-06-03 17:10:56 +02:00 committed by Christoph Oelckers
parent 8fa1adcc80
commit 0089a735c4

View file

@ -137,7 +137,7 @@ void NetServer::BeginTic()
TThinkerIterator<AActor> it = primaryLevel->GetThinkerIterator<AActor>();
AActor* mo;
while (mo = it.Next())
while ((mo = it.Next()))
{
if (mo != players[player].mo)
{
@ -326,7 +326,7 @@ void NetServer::CmdBeginTic(int nodeIndex)
TThinkerIterator<AActor> it = primaryLevel->GetThinkerIterator<AActor>();
AActor* mo;
while (mo = it.Next())
while ((mo = it.Next()))
{
if (mo != players[player].mo && mo->syncdata.NetID)
{