mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 21:18:23 -04:00
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
This commit is contained in:
@@ -69,7 +69,7 @@ void daBoko_c::setFlameEffect() {
|
||||
/* 00001340-000013CC .text setRoomInfo__8daBoko_cFv */
|
||||
void daBoko_c::setRoomInfo() {
|
||||
int roomNo;
|
||||
if (mAcch.GetGroundH() != -1e9f) {
|
||||
if (mAcch.GetGroundH() != C_BG_MIN_HEIGHT) {
|
||||
roomNo = dComIfG_Bgsp()->GetRoomId(mAcch.m_gnd);
|
||||
tevStr.mEnvrIdxOverride = dComIfG_Bgsp()->GetPolyColor(mAcch.m_gnd);
|
||||
} else {
|
||||
@@ -194,7 +194,7 @@ BOOL daBoko_c::procCarry() {
|
||||
int i;
|
||||
for (i = 0; i < 3; i++) {
|
||||
m_ground_check.SetPos(¤t.pos);
|
||||
if (dComIfG_Bgsp()->GroundCross(&m_ground_check) != -1e9f) {
|
||||
if (dComIfG_Bgsp()->GroundCross(&m_ground_check) != C_BG_MIN_HEIGHT) {
|
||||
break;
|
||||
}
|
||||
current.pos.x -= 50.0f * cM_ssin(shape_angle.y);
|
||||
|
||||
Reference in New Issue
Block a user