mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
Fix arguments for model00018680
This commit is contained in:
1 parent
3d8e55ab9f
commit
9c014e2daa
2 files changed
+8
-8
No files matched your search
+7
-7
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user