1
0
forked from 0ad/0ad

Accidentally left a change from #4056 in in 7c21a0cf8e.

This was SVN commit r18418.
This commit is contained in:
wraitii 2016-06-21 11:13:00 +00:00
parent 7c21a0cf8e
commit 9e526614be

View File

@ -661,7 +661,6 @@ REGISTER_COMPONENT_TYPE(ObstructionManager)
bool CCmpObstructionManager::TestLine(const IObstructionTestFilter& filter, entity_pos_t x0, entity_pos_t z0, entity_pos_t x1, entity_pos_t z1, entity_pos_t r, bool relaxClearanceForUnits)
{
PROFILE("TestLine");
PROFILE2_IFSPIKE("TestLine", 0.001);
// Check that both end points are within the world (which means the whole line must be)
if (!IsInWorld(x0, z0, r) || !IsInWorld(x1, z1, r))