diff options
-rw-r--r-- | engines/saga/gfx.cpp | 2 | ||||
-rw-r--r-- | engines/saga/saveload.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp index ab0c0f3e4c..8e98f0fbe7 100644 --- a/engines/saga/gfx.cpp +++ b/engines/saga/gfx.cpp @@ -123,7 +123,7 @@ void Surface::drawPolyLine(const Point *points, int count, int color) { drawLine(points[i].x, points[i].y, points[i - 1].x, points[i - 1].y, color); } - drawLine(points[count - 1].x, points[count - 1].y, points->x, points->y, color); + drawLine(points[count - 1].x, points[count - 1].y, points[0].x, points[0].y, color); } } diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp index 9e0789fdaf..6a5a7d8e14 100644 --- a/engines/saga/saveload.cpp +++ b/engines/saga/saveload.cpp @@ -44,7 +44,7 @@ static SaveFileData emptySlot = { char* SagaEngine::calcSaveFileName(uint slotNumber) { static char name[MAX_FILE_NAME]; - sprintf(name, "%s.s%02d", _targetName.c_str(), slotNumber); + sprintf(name, "%s.s%02u", _targetName.c_str(), slotNumber); return name; } |