mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 13:45:14 -04:00
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
This commit is contained in:
@@ -726,7 +726,7 @@ bool overhead_bg_chk() {
|
||||
pos.y += 50.0f;
|
||||
roofChk.SetPos(pos);
|
||||
|
||||
if (dComIfG_Bgsp()->RoofChk(&roofChk) != 1000000000.0f)
|
||||
if (dComIfG_Bgsp()->RoofChk(&roofChk) != C_BG_MAX_HEIGHT)
|
||||
ret = true;
|
||||
pos.y += 10000.0f;
|
||||
gndChk.SetPos(&pos);
|
||||
@@ -755,7 +755,7 @@ bool forward_overhead_bg_chk(cXyz* pPos, f32 dist) {
|
||||
*pPos = pos;
|
||||
roofChk.SetPos(pos);
|
||||
|
||||
if (dComIfG_Bgsp()->RoofChk(&roofChk) != 1000000000.0f)
|
||||
if (dComIfG_Bgsp()->RoofChk(&roofChk) != C_BG_MAX_HEIGHT)
|
||||
ret = true;
|
||||
pos.y += 10000.0f;
|
||||
gndChk.SetPos(&pos);
|
||||
|
||||
Reference in New Issue
Block a user