diff options
-rw-r--r-- | engines/m4/graphics.cpp | 2 | ||||
-rw-r--r-- | engines/m4/graphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/graphics.cpp b/engines/m4/graphics.cpp index b3c1a8cf04..5a6f598731 100644 --- a/engines/m4/graphics.cpp +++ b/engines/m4/graphics.cpp @@ -155,7 +155,7 @@ void M4Surface::hLineXor(int x1, int x2, int y) { } -void M4Surface::line(int x1, int y1, int x2, int y2, byte color) { +void M4Surface::drawLine(int x1, int y1, int x2, int y2, byte color) { Graphics::Surface::drawLine(x1, y1, x2, y2, color); } diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h index ca33f6150b..a6c5973a18 100644 --- a/engines/m4/graphics.h +++ b/engines/m4/graphics.h @@ -118,7 +118,7 @@ public: void hLine(int x1, int x2, int y); void vLineXor(int x, int y1, int y2); void hLineXor(int x1, int x2, int y); - void line(int x1, int y1, int x2, int y2, byte color); + void drawLine(int x1, int y1, int x2, int y2, byte color); void frameRect(int x1, int y1, int x2, int y2); void fillRect(int x1, int y1, int x2, int y2); |