Przeglądaj źródła

duplicated ghostinfo itterator

Azaezel 7 lat temu
rodzic
commit
789979d58a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Engine/source/sim/netGhost.cpp

+ 1 - 1
Engine/source/sim/netGhost.cpp

@@ -428,7 +428,7 @@ void NetConnection::ghostWritePacket(BitStream *bstream, PacketNotify *notify)
    //
    for(i = mGhostZeroUpdateIndex - 1; i >= 0 && !bstream->isFull(); i--)
    {
-      GhostInfo *walk = mGhostArray[i];
+	   walk = mGhostArray[i];
 		if(walk->flags & (GhostInfo::KillingGhost | GhostInfo::Ghosting))
 		   continue;