diff --git a/main/source/mod/AvHPlayer.cpp b/main/source/mod/AvHPlayer.cpp index 451032ce..04462130 100644 --- a/main/source/mod/AvHPlayer.cpp +++ b/main/source/mod/AvHPlayer.cpp @@ -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(); diff --git a/main/source/mod/AvHTechTree.cpp b/main/source/mod/AvHTechTree.cpp index a2f96f8a..9d90dc22 100644 --- a/main/source/mod/AvHTechTree.cpp +++ b/main/source/mod/AvHTechTree.cpp @@ -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; } }