Decompile fn_06315 (CGameSettingsMgr::FindOption)

Batch #12714 by cremane: 1 byte-identical, 0 confirmed by peer review.

- fn_06315 CGameSettingsMgr::FindOption: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 00:08:48 +00:00
commit fbc78b9901

View file

@ -525,10 +525,10 @@ std::optional<GameSettingsOption*> GameSettings::FindOption(int id) {
while (option != this->options.end() && id != option->id) {
++option;
}
if (option == this->options.end()) {
return std::nullopt;
if (option != this->options.end()) {
return &*option;
}
return &*option;
return std::nullopt;
}
// OFFSET: 0x006C1070