Skip to content

Commit 41cc060

Browse files
author
nitrocaster
committed
Fix typo in CLevelGraph debug draw.
1 parent 738eb50 commit 41cc060

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/xrGame/level_graph_debug.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void CLevelGraph::draw_stalkers (const int &vertex_id)
215215
break;
216216
}
217217

218-
if (temp.x > 1.f) {
218+
if (temp.y > 1.f) {
219219
show_text = false;
220220
break;
221221
}
@@ -323,7 +323,7 @@ void CLevelGraph::draw_stalkers (const int &vertex_id)
323323
if (temp.y < -1.f)
324324
continue;
325325

326-
if (temp.x > 1.f)
326+
if (temp.y > 1.f)
327327
continue;
328328

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

384-
if (temp.x > 1.f) {
384+
if (temp.y > 1.f) {
385385
show_text = false;
386386
break;
387387
}
@@ -487,7 +487,7 @@ void CLevelGraph::draw_objects (const int &vertex_id)
487487
if (temp.y < -1.f)
488488
continue;
489489

490-
if (temp.x > 1.f)
490+
if (temp.y > 1.f)
491491
continue;
492492

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

0 commit comments

Comments
 (0)