summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_ari.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_obj_ari.cpp')
-rw-r--r--src/d/actor/d_a_obj_ari.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_obj_ari.cpp b/src/d/actor/d_a_obj_ari.cpp
index e8e614956b..0a5a9044f7 100644
--- a/src/d/actor/d_a_obj_ari.cpp
+++ b/src/d/actor/d_a_obj_ari.cpp
@@ -531,7 +531,7 @@ void daObjARI_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);
}