1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-07 05:45:33 +00:00

Mark MWPhysics::Actor constructor and assignment operators as deleted

This commit is contained in:
elsid 2022-09-16 23:48:42 +02:00
parent bceca33699
commit aeb4611d6c
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -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();