Fix arguments for model00018680

This commit is contained in:
Ryan Dwyer committed 2022-11-19 11:54:26 +10:00
1 parent 3d8e55ab9f
commit 9c014e2daa
2 files changed
+8 -8

No files matched your search

+7 -7
View File
@@ -1469,19 +1469,19 @@ void model0001cd18(struct modelrenderdata *arg0, struct model *model)
}
}
void model0001ce64(struct modelrenderdata *arg0, struct model *model)
void model0001ce64(struct modelrenderdata *renderdata, struct model *model)
{
model->matrices = arg0->unk10;
model->matrices = renderdata->unk10;
arg0->unk10 += model->filedata->nummatrices;
renderdata->unk10 += model->filedata->nummatrices;
#if VERSION >= VERSION_PAL_BETA
if (var8005efb0_2 || !model00018680()) {
model0001cd18(arg0, model);
if (var8005efb0_2 || !model00018680(renderdata, model)) {
model0001cd18(renderdata, model);
}
#else
if (!model00018680()) {
model0001cd18(arg0, model);
if (!model00018680(renderdata, model)) {
model0001cd18(renderdata, model);
}
#endif
}