mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-18 02:01:18 +00:00
Fix compile warnings.
This commit is contained in:
parent
8fa1adcc80
commit
0089a735c4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue