Skip to content

Commit

Permalink
Fix compile warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-san authored and coelckers committed Jun 4, 2020
1 parent 8fa1adc commit 0089a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/netserver.cpp
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 0089a73

Please sign in to comment.