Temporary fix for Phazon Suit crash on windows

This commit is contained in:
Phillip Stephens 2020-12-25 21:03:29 -08:00
parent cec1610847
commit 914335275b
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ public:
void GetBankTransforms(std::vector<const zeus::CTransform*>& out, const CPoseAsTransforms& pose,
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);
}