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:
ragnarok-clanker 2026-11-06 03:04:31 +00:00
commit 928f6779b5

View file

@ -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;
}