Fixed shadows and Litproj

This commit is contained in:
korenkonder
2024-01-12 08:20:15 +03:00
parent f53da6a0bf
commit 85084aed29
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ HOOK(void, FASTCALL, auth_3d_m_object_hrc_disp, 0x00000001401D0760, auth_3d_m_ob
disp_manager.set_shadow_type(shadow_type);
Shadow* shad = shadow_ptr_get();
if (shad && flags & mdl::OBJ_SHADOW) {
if (shad && (flags & mdl::OBJ_SHADOW)) {
disp_manager.set_shadow_type(SHADOW_STAGE);
mat4* m = &moh->model_transform.mat;