mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-17 01:12:02 +00:00
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:
parent
b206e2b97d
commit
e5143747a5
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue