Skip to content

Commit

Permalink
Fix typo in CLevelGraph debug draw.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Nov 7, 2015
1 parent 738eb50 commit 41cc060
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xrGame/level_graph_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void CLevelGraph::draw_stalkers (const int &vertex_id)
break;
}

if (temp.x > 1.f) {
if (temp.y > 1.f) {
show_text = false;
break;
}
Expand Down Expand Up @@ -323,7 +323,7 @@ void CLevelGraph::draw_stalkers (const int &vertex_id)
if (temp.y < -1.f)
continue;

if (temp.x > 1.f)
if (temp.y > 1.f)
continue;

font.SetHeightI (.05f/_sqrt(temp.w));
Expand Down Expand Up @@ -381,7 +381,7 @@ void CLevelGraph::draw_objects (const int &vertex_id)
break;
}

if (temp.x > 1.f) {
if (temp.y > 1.f) {
show_text = false;
break;
}
Expand Down Expand Up @@ -487,7 +487,7 @@ void CLevelGraph::draw_objects (const int &vertex_id)
if (temp.y < -1.f)
continue;

if (temp.x > 1.f)
if (temp.y > 1.f)
continue;

font.SetHeightI (.05f/_sqrt(temp.w));
Expand Down

0 comments on commit 41cc060

Please sign in to comment.