mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 05:22:39 -04:00
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
This commit is contained in:
@@ -773,7 +773,7 @@ JPABaseEmitter* dPa_control_c::setSimpleLand(int code, const cXyz* pos, const cs
|
||||
dBgS_ObjGndChk chk;
|
||||
cXyz chkPos(pos->x, pos->y + 10.0f, pos->z);
|
||||
chk.SetPos(&chkPos);
|
||||
if (dComIfG_Bgsp()->GroundCross(&chk) != C_BG_INVALID_HEIGHT) {
|
||||
if (dComIfG_Bgsp()->GroundCross(&chk) != C_BG_MIN_HEIGHT) {
|
||||
code = dComIfG_Bgsp()->GetAttributeCode(chk);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user