From 9d8fcec642e0660bd5a410b40b452066739812a0 Mon Sep 17 00:00:00 2001 From: fredzio Date: Wed, 14 Apr 2021 09:01:37 +0200 Subject: [PATCH] Remove bogus warning. It is a normal situation for projectiles to be in-flight after the caster is gone. --- apps/openmw/mwphysics/physicssystem.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/openmw/mwphysics/physicssystem.cpp b/apps/openmw/mwphysics/physicssystem.cpp index 4087ba7e1..c5ba902fc 100644 --- a/apps/openmw/mwphysics/physicssystem.cpp +++ b/apps/openmw/mwphysics/physicssystem.cpp @@ -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;