1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:23:54 +00:00

Remove bogus warning. It is a normal situation for projectiles to be

in-flight after the caster is gone.
This commit is contained in:
fredzio 2021-04-14 09:01:37 +02:00
parent fcb3fffb9a
commit 9d8fcec642

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;