mirror of https://github.com/AxioDL/metaforce.git
Temporary fix for Phazon Suit crash on windows
This commit is contained in:
parent
cec1610847
commit
914335275b
|
@ -45,6 +45,10 @@ public:
|
||||||
|
|
||||||
void GetBankTransforms(std::vector<const zeus::CTransform*>& out, const CPoseAsTransforms& pose,
|
void GetBankTransforms(std::vector<const zeus::CTransform*>& out, const CPoseAsTransforms& pose,
|
||||||
int skinBankIdx) const {
|
int skinBankIdx) const {
|
||||||
|
// FIXME: This is definitely not proper behavior, this is here to fix the phazon suit crashing
|
||||||
|
if (x0_skinBanks.size() <= skinBankIdx) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
x0_skinBanks[skinBankIdx].GetBankTransforms(out, pose);
|
x0_skinBanks[skinBankIdx].GetBankTransforms(out, pose);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue