Skip to content

Commit

Permalink
Updated call to MapViewState::changeViewDepth in MapViewState::onMous…
Browse files Browse the repository at this point in the history
…eDown to MapViewState::onChangeDepth
  • Loading branch information
oscar139 committed Apr 1, 2024
1 parent 8790f20 commit a1dbe50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OPHD/States/MapViewState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ void MapViewState::onMouseDown(NAS2D::EventHandler::MouseButton button, NAS2D::P
mNavControl->onClick(MOUSE_COORDS);
if (oldDepth != mMapView->currentDepth())
{
changeViewDepth(mMapView->currentDepth());
onChangeDepth(oldDepth, mMapView->currentDepth());
}

// MiniMap Check
Expand Down

0 comments on commit a1dbe50

Please sign in to comment.