Skip to content

Commit

Permalink
fix implicit fall through warning
Browse files Browse the repository at this point in the history
  • Loading branch information
markusobi committed Feb 14, 2019
1 parent c9ac710 commit c5c7a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/BspTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ NodeIndex BspTree::findLeafOf(const Math::float3& position)
case 1: // Front
if (m_Nodes[n].front != INVALID_NODE)
return rec(m_Nodes[n].front);

break;
case 2: // Back
if (m_Nodes[n].back != INVALID_NODE)
return rec(m_Nodes[n].back);

break;
case 3: // Split
default:
break;
Expand Down

0 comments on commit c5c7a18

Please sign in to comment.