mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
This commit is contained in:
@@ -273,7 +273,7 @@ void daNh_c::BGCheck() {
|
||||
dBgS_ObjGndChk_All gndChk;
|
||||
gndChk.SetPos(¤t.pos);
|
||||
f32 groundY = dComIfG_Bgsp()->GroundCross(&gndChk);
|
||||
if (groundY != -1000000000.0f) {
|
||||
if (groundY != C_BG_MIN_HEIGHT) {
|
||||
mGroundY = groundY;
|
||||
tevStr.mRoomNo = current.roomNo = dComIfG_Bgsp()->GetRoomId(gndChk);
|
||||
tevStr.mEnvrIdxOverride = dComIfG_Bgsp()->GetPolyColor(gndChk);
|
||||
|
||||
Reference in New Issue
Block a user