diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-11-17 10:01:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 20:01:03 +0200 |
| commit | 540217c31b88246d5c3abd57bb3fbd97cff6d31c (patch) | |
| tree | cc08666dad6a7cd55539168a0d0e3f6bba188488 /src/d/d_insect.cpp | |
| parent | 4350a38fe01fa57890eade52c7c5e3789cce83ac (diff) | |
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work
* d_meter_HIO debug cleanup
* wii m_Do_graphic stuff
* tag_attack_item OK, mirror_chain almost
* fix build
* mg_fshop matching
Diffstat (limited to 'src/d/d_insect.cpp')
| -rw-r--r-- | src/d/d_insect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_insect.cpp b/src/d/d_insect.cpp index 6bbaf990e3..c41ede21fd 100644 --- a/src/d/d_insect.cpp +++ b/src/d/d_insect.cpp @@ -113,8 +113,8 @@ void dInsect_c::CalcZBuffer(f32 param_0) { camera_trim_height = 0.0f; } - if (pos_projected.x > 0.0f && pos_projected.x < 608.0f && - pos_projected.y > camera_trim_height && pos_projected.y < 448.0f - camera_trim_height) + if (pos_projected.x > 0.0f && pos_projected.x < FB_WIDTH && + pos_projected.y > camera_trim_height && pos_projected.y < FB_HEIGHT - camera_trim_height) { dComIfGd_peekZ(pos_projected.x, pos_projected.y, &field_0x578); } else { |
