mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16: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
|
||||
|
||||
--[[ 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
|
||||
|
||||
Reference in New Issue
Block a user