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:
+1
-1
@@ -606,7 +606,7 @@ bool dWood::Unit_c::set_ground() {
|
||||
gndChk.SetPos(&pos);
|
||||
f32 gndHeight = dComIfG_Bgsp()->GroundCross(&gndChk);
|
||||
|
||||
if (gndHeight > -1000000000.0f) {
|
||||
if (gndHeight > C_BG_MIN_HEIGHT) {
|
||||
mPos.y = gndHeight;
|
||||
cM3dGPla *triPla = dComIfG_Bgsp()->GetTriPla(gndChk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user