1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Merge branch 'remove_bogus_warning' into 'master'

Remove bogus warning (#5952)

See merge request OpenMW/openmw!741
This commit is contained in:
Andrei Kortunov 2021-04-14 07:21:26 +00:00
commit e2ccd1712a

View File

@ -612,9 +612,6 @@ namespace MWPhysics
return nullptr;
}();
if (caster == nullptr)
Log(Debug::Warning) << "No caster for projectile " << projectileId;
ProjectileConvexCallback resultCallback(caster, btFrom, btTo, projectile);
resultCallback.m_collisionFilterMask = 0xff;
resultCallback.m_collisionFilterGroup = CollisionType_Projectile;