duplicated ghostinfo itterator

This commit is contained in:
Azaezel 2018-03-14 15:10:43 -05:00
parent 9200eb99e1
commit b37dcc9d3a

View file

@ -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;