LoadOpponentMugShot matching

This commit is contained in:
Dethrace Labs 2025-11-23 14:06:06 +13:00 committed by Dethrace Engineering Department
parent d37280169a
commit 324979428a
1 changed files with 1 additions and 0 deletions

View File

@ -2675,6 +2675,7 @@ void LoadOpponentMugShot(int pIndex) {
&gOpponents[pIndex].mug_shot_image_data,
&gOpponents[pIndex].mug_shot_image_data_length)) {
FatalError(kFatalError_LoadOpponentMugShotFile);
return;
}
MAMSLock((void**)&gOpponents[pIndex].mug_shot_image_data);
}