diff options
Diffstat (limited to 'engines/sword25/math/walkregion.cpp')
-rw-r--r-- | engines/sword25/math/walkregion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/math/walkregion.cpp b/engines/sword25/math/walkregion.cpp index 3f4ad3c030..51818bc9e8 100644 --- a/engines/sword25/math/walkregion.cpp +++ b/engines/sword25/math/walkregion.cpp @@ -165,7 +165,7 @@ static void relaxEndPoint(const Vertex &curNodePos, } template<class T> -void ReverseArray(Common::Array<T> &arr) { +void reverseArray(Common::Array<T> &arr) { const uint size = arr.size(); if (size < 2) return; @@ -216,7 +216,7 @@ bool WalkRegion::findPath(const Vertex &start, const Vertex &end, BS_Path &path) // The nodes of the path must be untwisted, as they were extracted in reverse order. // This step could be saved if the path from end to the beginning was desired - ReverseArray<Vertex>(path); + reverseArray<Vertex>(path); return true; } |