Fixed infinite loop in AvHTechTree.cpp (Mantis #997)

Fixed NULL ptr reference in AvHPlayer.cpp (before report was filed)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@35 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
XP-Cagey 2005-04-06 01:33:38 +00:00
parent b206e2b97d
commit e5143747a5
2 changed files with 3 additions and 3 deletions

View file

@ -9532,8 +9532,8 @@ void AvHPlayer::UpdateTechNodes()
}
else
{
//send signal to remove the tech node from the client here...
this->mClientTechNodes.RemoveNode( Node->getMessageID() );
//TODO: send signal to remove the tech node from the client here...
this->mClientTechNodes.RemoveNode(*current);
}
}
mClientTechDelta.clear();

View file

@ -493,7 +493,7 @@ void AvHTechTree::GetDelta(const AvHTechTree& other, MessageIDListType& delta) c
while( other_current != other_end )
{
delta.push_back(other_current->first);
++current;
++other_current;
}
}