浏览代码

duplicated ghostinfo itterator

Azaezel 7 年之前
父节点
当前提交
789979d58a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;