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:
parent
4d47140980
commit
fbc78b9901
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue