We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2f2a3 commit d81297bCopy full SHA for d81297b
src/SB/Game/zEntDestructObj.cpp
@@ -28,9 +28,9 @@ namespace
28
RwMatrixCopyMacro(modelInst->Mat, ent->model->Mat);
29
30
modelInst->Flags &= 0xBBFC;
31
- modelInst->Flags |= (s16) (ent->model->Flags & 0x4403);
+ modelInst->Flags |= (u16) (ent->model->Flags & 0x4403);
32
ent->model = modelInst;
33
- iBoxForModelLocal((xBox*) &ent->bound.box, (xModelInstance *) modelInst);
+ iBoxForModelLocal(&ent->bound.box.box, modelInst);
34
zCollGeom_EntSetup((xEnt *) ent);
35
36
sfxDestroy = ent->sfx_destroy;
0 commit comments