diff options
Diffstat (limited to 'src/d/actor/d_a_obj_cho.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_cho.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_obj_cho.cpp b/src/d/actor/d_a_obj_cho.cpp index 3425ccf1ac..e41241cb7e 100644 --- a/src/d/actor/d_a_obj_cho.cpp +++ b/src/d/actor/d_a_obj_cho.cpp @@ -316,7 +316,7 @@ void daObjCHO_c::Z_BufferChk() { } else { trim_height = 0.0f; } - if (vec2.x > 0.0f && vec2.x < 608.0f && vec2.y > trim_height && vec2.y < 448.0f - trim_height) { + if (vec2.x > 0.0f && vec2.x < FB_WIDTH && vec2.y > trim_height && vec2.y < FB_HEIGHT - trim_height) { dComIfGd_peekZ(vec2.x, vec2.y, &mBufferZ); } |
