summaryrefslogtreecommitdiff
path: root/src/d/d_resorce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_resorce.cpp')
-rw-r--r--src/d/d_resorce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_resorce.cpp b/src/d/d_resorce.cpp
index 03a6b9515d..338fee8ceb 100644
--- a/src/d/d_resorce.cpp
+++ b/src/d/d_resorce.cpp
@@ -262,7 +262,7 @@ J3DModelData* dRes_info_c::loaderBasicBmd(u32 i_tag, void* i_data) {
for (i = 0; i < modelData->getMaterialNum(); i++) {
material = modelData->getMaterialNodePointer(i);
lightMask = material->getColorChan(0)->getLightMask();
- switch (g_env_light.field_0x1308) {
+ switch (g_env_light.light_mask_type) {
case 1:
lightMask &= 0x4;
break;