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:
parent
bceca33699
commit
aeb4611d6c
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue