diff --git a/apps/openmw/mwphysics/actor.hpp b/apps/openmw/mwphysics/actor.hpp index 1f79729d74..4d7412e88b 100644 --- a/apps/openmw/mwphysics/actor.hpp +++ b/apps/openmw/mwphysics/actor.hpp @@ -33,6 +33,10 @@ namespace MWPhysics bool canWaterWalk, DetourNavigator::CollisionShapeType collisionShapeType); ~Actor() override; + Actor(const Actor&) = delete; + + Actor& operator=(const Actor&) = delete; + /** * Sets the collisionMode for this actor. If disabled, the actor can fly and clip geometry. */ @@ -205,9 +209,6 @@ namespace MWPhysics PhysicsTaskScheduler* mTaskScheduler; - Actor(const Actor&); - Actor& operator=(const Actor&); - inline void updateScaleUnsafe(); inline void updateCollisionObjectPositionUnsafe();