aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/boxes.cpp2
-rw-r--r--engines/scumm/boxes.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/boxes.cpp b/engines/scumm/boxes.cpp
index 97ed73ec79..269eaf5893 100644
--- a/engines/scumm/boxes.cpp
+++ b/engines/scumm/boxes.cpp
@@ -89,7 +89,7 @@ struct Box { /* Internal walkbox file format */
static bool compareSlope(int X1, int Y1, int X2, int Y2, int X3, int Y3);
static Common::Point closestPtOnLine(const Common::Point &start, const Common::Point &end, int x, int y);
static uint distanceFromPt(int x, int y, int ptx, int pty);
-
+static void getGates(const BoxCoords &box1, const BoxCoords &box2, Common::Point gateA[2], Common::Point gateB[2]);
byte ScummEngine::getMaskFromBox(int box) {
// WORKAROUND for bug #740244 and #755863. This appears to have been a
diff --git a/engines/scumm/boxes.h b/engines/scumm/boxes.h
index f504420961..9803ad60b7 100644
--- a/engines/scumm/boxes.h
+++ b/engines/scumm/boxes.h
@@ -50,7 +50,6 @@ struct BoxCoords { /* Box coordinates */
Common::Point lr;
};
-void getGates(const BoxCoords &box1, const BoxCoords &box2, Common::Point gateA[2], Common::Point gateB[2]);
bool inBoxQuickReject(const BoxCoords &box, int x, int y, int threshold);
int getClosestPtOnBox(const BoxCoords &box, int x, int y, int16& outX, int16& outY);