mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Removed debug lines
This commit is contained in:
parent
f85651b3ce
commit
96f35bef89
6
CTLD.lua
6
CTLD.lua
@ -1380,7 +1380,7 @@ function ctld.checkHoverStatus()
|
||||
|
||||
--check height!
|
||||
local _height = _transUnit:getPoint().y - _crate.crateUnit:getPoint().y
|
||||
env.info("HEIGHT " .. _name .. " " .. _height .. " " .. _transUnit:getPoint().y .. " " .. _crate.crateUnit:getPoint().y)
|
||||
--env.info("HEIGHT " .. _name .. " " .. _height .. " " .. _transUnit:getPoint().y .. " " .. _crate.crateUnit:getPoint().y)
|
||||
-- ctld.heightDiff(_transUnit)
|
||||
--env.info("HEIGHT ABOVE GROUD ".._name.." ".._height.." ".._transUnit:getPoint().y.." ".._crate.crateUnit:getPoint().y)
|
||||
|
||||
@ -1643,8 +1643,8 @@ function ctld.heightDiff(_unit)
|
||||
|
||||
local _point = _unit:getPoint()
|
||||
|
||||
env.info("heightunit " .. _point.y)
|
||||
env.info("heightland " .. land.getHeight({ x = _point.x, y = _point.z }))
|
||||
-- env.info("heightunit " .. _point.y)
|
||||
--env.info("heightland " .. land.getHeight({ x = _point.x, y = _point.z }))
|
||||
|
||||
return _point.y - land.getHeight({ x = _point.x, y = _point.z })
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user