Decompile fn_05374 (CPetEvolutionMgr::IsAutoFeeding)
Batch #12915 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_05374 CPetEvolutionMgr::IsAutoFeeding: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
35182a915d
commit
928f6779b5
1 changed files with 4 additions and 4 deletions
|
|
@ -160,11 +160,11 @@ std::pair<bool, std::string> CPetEvolutionMgr::InsertRecipe(int petEgg, int targ
|
|||
// OFFSET: 0x006737C0
|
||||
// FUNCTION: fn_05374
|
||||
bool CPetEvolutionMgr::IsAutoFeeding(int petEgg) {
|
||||
for (auto it = this->m_autoFeeding.begin(); it != this->m_autoFeeding.end(); ++it) {
|
||||
if (*it == petEgg) {
|
||||
return true;
|
||||
}
|
||||
auto it = std::find(this->m_autoFeeding.begin(), this->m_autoFeeding.end(), petEgg);
|
||||
if (it != this->m_autoFeeding.end()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue