diff options
| author | Ćukasz Starzyk <72223520+Aszman@users.noreply.github.com> | 2025-03-23 21:29:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-23 22:29:10 +0200 |
| commit | 3f67b00c6e8272bba1c6156699b9a01bbd4be3bc (patch) | |
| tree | 50a167894f7b5e79eb8474aa17ad447a017c41c7 /src/d/actor/d_a_obj_kjgjs.cpp | |
| parent | a4cdad86f4eb28df25708e8b4b1988148f690f2e (diff) | |
d_a_obj_amiShutter equivalent (#2342)
* init commit
* functions matching progress
* new inline function
added new inline function `OnRoofRegist` to cBgW class
* use of inline function
uses the inline function as in the debug version
* d_a_obj_amiShutter equivalent
* cleanup and field rename
* addressed PR comments
Diffstat (limited to 'src/d/actor/d_a_obj_kjgjs.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_kjgjs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/actor/d_a_obj_kjgjs.cpp b/src/d/actor/d_a_obj_kjgjs.cpp index 0547318a16..bb29eab437 100644 --- a/src/d/actor/d_a_obj_kjgjs.cpp +++ b/src/d/actor/d_a_obj_kjgjs.cpp @@ -60,8 +60,7 @@ static const Vec l_cull_box[4] = { int daObjKJgjs_c::Create() { fopAcM_SetMtx(this, mMtx[1]); MTXCopy(mMtx[1], mpModel->mBaseTransformMtx); - dBgW* bgw_p = mpBgW; - bgw_p->field_0x91 |= 4; + mpBgW->OffRoofRegist(); if (!field_0x60c) { fopAcM_setCullSizeBox(this, l_cull_box[0].x, l_cull_box[0].y, l_cull_box[0].z, l_cull_box[1].x, l_cull_box[1].y, l_cull_box[1].z); |
