Decompile 2 functions in Source/Client/Session/Session.cpp, Source/Client/Application/ClientOptions.cpp, ...
Batch #17739 by eAthena: 1 byte-identical, 1 confirmed by peer review. - fn_23424 CSession::GetItem1784At: byte-identical - fn_12610 CSession::GetOption: logic confirmed by peer review 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
e0bff5ae5b
commit
d09c24e756
3 changed files with 15 additions and 5 deletions
|
|
@ -3,8 +3,8 @@
|
|||
// OFFSET: 0x0091BE20
|
||||
// FUNCTION: fn_12610
|
||||
int CSession::GetOption(int id) const {
|
||||
const auto entry = this->m_options.Values().find(id);
|
||||
return entry == this->m_options.Values().end() ? 0 : static_cast<int>(entry->second);
|
||||
const auto entry = this->m_options.Values().find(static_cast<int>(id));
|
||||
return static_cast<int>(entry == this->m_options.Values().end() ? 0 : entry->second);
|
||||
}
|
||||
|
||||
// OFFSET: 0x005E7970
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue