Decompile fn_10410 (NavigationLinkParser::EncodeNavigationNumber)
Batch #14781 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_10410 NavigationLinkParser::EncodeNavigationNumber: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
b90e3025ed
commit
a5a0023d4d
1 changed files with 2 additions and 3 deletions
|
|
@ -323,9 +323,8 @@ std::string NavigationLinkParser::EncodeNavigationNumber(int value) {
|
|||
characters.push_back(digits[value]);
|
||||
|
||||
std::string result;
|
||||
const std::size_t count = characters.size();
|
||||
for (std::size_t index = 0; index < count; ++index) {
|
||||
result += characters[count - 1 - index];
|
||||
for (auto it = characters.rbegin(); it != characters.rend(); ++it) {
|
||||
result += *it;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue