mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
CTLD - corrected landheight of dropped smoke
This commit is contained in:
parent
abfe5ffc45
commit
ee4e562874
@ -990,7 +990,7 @@ CTLD.UnitTypes = {
|
|||||||
|
|
||||||
--- CTLD class version.
|
--- CTLD class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
CTLD.version="1.0.0"
|
CTLD.version="1.0.1"
|
||||||
|
|
||||||
--- Instantiate a new CTLD.
|
--- Instantiate a new CTLD.
|
||||||
-- @param #CTLD self
|
-- @param #CTLD self
|
||||||
@ -3396,6 +3396,8 @@ function CTLD:SmokePositionNow(Unit, Flare)
|
|||||||
if Flare then
|
if Flare then
|
||||||
unitcoord:Flare(FlareColor, 90)
|
unitcoord:Flare(FlareColor, 90)
|
||||||
else
|
else
|
||||||
|
local height = unitcoord:GetLandHeight() + 2
|
||||||
|
unitcoord.y = height
|
||||||
unitcoord:Smoke(SmokeColor)
|
unitcoord:Smoke(SmokeColor)
|
||||||
end
|
end
|
||||||
return self
|
return self
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user