mirror of https://github.com/AxioDL/metaforce.git
CGrenadeLauncher: Resolve sign conversion warnings in constructor
This commit is contained in:
parent
f10eb618bf
commit
b95d84a570
|
@ -31,8 +31,8 @@ CGrenadeLauncher::CGrenadeLauncher(TUniqueId uid, std::string_view name, const C
|
||||||
}
|
}
|
||||||
GetModelData()->EnableLooping(true);
|
GetModelData()->EnableLooping(true);
|
||||||
const CPASDatabase& pasDatabase = GetModelData()->GetAnimationData()->GetCharacterInfo().GetPASDatabase();
|
const CPASDatabase& pasDatabase = GetModelData()->GetAnimationData()->GetCharacterInfo().GetPASDatabase();
|
||||||
for (int i = 0; i < x3c8_animIds.size(); ++i) {
|
for (size_t i = 0; i < x3c8_animIds.size(); ++i) {
|
||||||
const auto result = pasDatabase.FindBestAnimation(CPASAnimParmData{22, CPASAnimParm::FromEnum(i)}, -1);
|
const auto result = pasDatabase.FindBestAnimation(CPASAnimParmData{22, CPASAnimParm::FromEnum(int(i))}, -1);
|
||||||
x3c8_animIds[i] = result.second;
|
x3c8_animIds[i] = result.second;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue