Update Fox2.lua

This commit is contained in:
Frank
2019-04-17 23:02:02 +02:00
parent b0adfc6bb5
commit 0a8f83b0fc
+2 -2
View File
@@ -315,7 +315,7 @@ function FOX2:OnEventShot(EventData)
-- Weapon descriptor.
local desc=EventData.Weapon:getDesc()
--self:E({desc=desc})
self:E({desc=desc})
-- Weapon category: 0=Shell, 1=Missile, 2=Rocket, 3=BOMB
local weaponcategory=desc.category
@@ -325,7 +325,7 @@ function FOX2:OnEventShot(EventData)
local missilerange=nil
if missilecategory then
missilerange=desc.DescMissile.rangeMaxAltMax
missilerange=desc.rangeMaxAltMax
end
-- Debug info.