mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Removed RemoveDuplicateCapturedVehicles()
This commit is contained in:
11
cl_radar.lua
11
cl_radar.lua
@@ -478,17 +478,6 @@ function RADAR:InsertCapturedVehicleData( t, rt )
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[ function RADAR:RemoveDuplicateCapturedVehicles()
|
|
||||||
for k, vehTable in pairs( self.capturedVehicles ) do
|
|
||||||
local veh = vehTable.veh
|
|
||||||
local rt = vehTable.rayType
|
|
||||||
|
|
||||||
for b, v in pairs( self.capturedVehicles ) do
|
|
||||||
if ( v.veh == veh and k ~= b and rt == v.rayType ) then table.remove( self.capturedVehicles, b ) end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end ]]
|
|
||||||
|
|
||||||
|
|
||||||
--[[------------------------------------------------------------------------
|
--[[------------------------------------------------------------------------
|
||||||
Radar dynamic sphere radius functions
|
Radar dynamic sphere radius functions
|
||||||
|
|||||||
Reference in New Issue
Block a user