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.
This commit is contained in:
parent
bd6f220365
commit
1bc8af13c4
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue