diff --git a/Source/Platformer/Unit.cpp b/Source/Platformer/Unit.cpp index e20095551..b078ae5b1 100644 --- a/Source/Platformer/Unit.cpp +++ b/Source/Platformer/Unit.cpp @@ -256,7 +256,7 @@ void Unit::setGroup(uint8_t group) { for (pr::ShapeID f : pd::GetShapes(world, _prBody)) { if (pd::IsSensor(world, f)) { if (Sensor* sensor = _pWorld->getFixtureData(f)) { - if (sensor->getTag() == Unit::GroundSensorTag || sensor->getTag() == Unit::DetectSensorTag || sensor->getTag() == Unit::AttackSensorTag) { + if (sensor->getTag() == Unit::DetectSensorTag || sensor->getTag() == Unit::AttackSensorTag) { continue; } }