aboutsummaryrefslogtreecommitdiff
path: root/sword2/router.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/router.cpp')
-rw-r--r--sword2/router.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/router.cpp b/sword2/router.cpp
index 9be82d80ff..7e84a7e7f0 100644
--- a/sword2/router.cpp
+++ b/sword2/router.cpp
@@ -2530,7 +2530,7 @@ void Router::plotWalkGrid(void) {
// lines
for (i = 0; i < _nbars; i++)
- g_display->drawLine(_bars[i].x1, _bars[i].y1, _bars[i].x2, _bars[i].y2, 254);
+ g_graphics->drawLine(_bars[i].x1, _bars[i].y1, _bars[i].x2, _bars[i].y2, 254);
// nodes
@@ -2540,8 +2540,8 @@ void Router::plotWalkGrid(void) {
}
void Router::plotCross(int16 x, int16 y, uint8 colour) {
- g_display->drawLine(x - 1, y - 1, x + 1, y + 1, colour);
- g_display->drawLine(x + 1, y - 1, x - 1, y + 1, colour);
+ g_graphics->drawLine(x - 1, y - 1, x + 1, y + 1, colour);
+ g_graphics->drawLine(x + 1, y - 1, x - 1, y + 1, colour);
}
void Router::loadWalkGrid(void) {