Decompile fn_23483 (CSession::GetShopType)
Batch #12496 by Toshiro: 0 byte-identical, 1 confirmed by peer review. - fn_23483 CSession::GetShopType: logic confirmed by peer review Peer-reviewed-by: Yommy, dori 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
5e38ccf86e
commit
1321ea8890
1 changed files with 2 additions and 2 deletions
|
|
@ -2614,8 +2614,8 @@ const char* CSession::GetMonsterW3dName(int job) const {
|
|||
// OFFSET: 0x00DE38E0
|
||||
// FUNCTION: fn_23483
|
||||
unsigned char CSession::GetShopType(int id) {
|
||||
auto it = this->m_shops.find(id);
|
||||
if (it == this->m_shops.end()) {
|
||||
auto it = this->m_shops.lower_bound(id);
|
||||
if (it == this->m_shops.end() || it->first != id) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue