Skip to content
Browse files

Player class: disable copy

  • Loading branch information...
nerzhul committed Aug 14, 2017
1 parent 182bd6a commit ab9f3b92f2d4affe396692bc4963a9a2375bcbd4
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/player.h
@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_bloated.h"
#include "inventory.h"
#include "constants.h"
#include "util/basic_macros.h"
#include <list>
#include <mutex>

@@ -88,16 +89,15 @@ struct CollisionInfo;
struct HudElement;
class Environment;

// Do *not* perform an assignment or copy operation on a Player or
// RemotePlayer object! This will copy the lock held for HUD synchronization
class Player

Player(const char *name, IItemDefManager *idef);
virtual ~Player() = 0;


virtual void move(f32 dtime, Environment *env, f32 pos_max_d)
virtual void move(f32 dtime, Environment *env, f32 pos_max_d,

0 comments on commit ab9f3b9

Please sign in to comment.
You can’t perform that action at this time.