Decompile fn_05351 (CCheckAttendanceMgr::GetReward)
Batch #12830 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_05351 CCheckAttendanceMgr::GetReward: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
4a11b51d2c
commit
caea6f8ebf
1 changed files with 3 additions and 3 deletions
|
|
@ -58,11 +58,11 @@ void CCheckAttendanceMgr::Destroy() {
|
|||
// FUNCTION: fn_05351
|
||||
std::pair<int, int> CCheckAttendanceMgr::GetReward(int day) {
|
||||
const auto found = this->m_rewards.find(day);
|
||||
if (found == this->m_rewards.end()) {
|
||||
return std::pair<int, int>(0, 0);
|
||||
if (found != this->m_rewards.end()) {
|
||||
return std::pair<int, int>(found->second.m_item, found->second.m_count);
|
||||
}
|
||||
|
||||
return std::pair<int, int>(found->second.m_item, found->second.m_count);
|
||||
return std::pair<int, int>(0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00671200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue