From 1bc8af13c48883f0a719f83a15784010f59aefeb Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 23:43:09 +0000 Subject: [PATCH] Decompile fn_17871 (MovementRouteInterpolation::EndMetadata) Batch #11304 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_17871 MovementRouteInterpolation::EndMetadata: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/MovementRoute.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Contents/MovementRoute.cpp b/Source/Contents/MovementRoute.cpp index f14751dc7..04069ef6f 100644 --- a/Source/Contents/MovementRoute.cpp +++ b/Source/Contents/MovementRoute.cpp @@ -60,11 +60,11 @@ std::uint32_t* MovementRouteInterpolation::EndTick(std::uint32_t* tick) const { // OFFSET: 0x00AD8D90 // FUNCTION: fn_17871 int MovementRouteInterpolation::EndMetadata() const { - if (this->points.empty()) { - return -1; + if (!this->points.empty()) { + return this->points[this->points.size() - 1].metadata; } - return this->points.back().metadata; + return -1; } // OFFSET: 0x00AD8F20