Explorar o código

duplicated ghostinfo itterator

Azaezel %!s(int64=7) %!d(string=hai) anos
pai
achega
b37dcc9d3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;