diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-08-03 16:19:07 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-10-01 18:44:36 -0400 |
commit | cd0df0d5e7051763c7ac6ca20a0f2960e0dda83a (patch) | |
tree | c382f9e7102841356dc22c81cc5c634e9943b2e9 /src/localplayer.h | |
parent | b37bff72f17c46b3bf6ba55a4084edf58bd3df78 (diff) | |
download | minetest-cd0df0d5e7051763c7ac6ca20a0f2960e0dda83a.tar.gz minetest-cd0df0d5e7051763c7ac6ca20a0f2960e0dda83a.tar.bz2 minetest-cd0df0d5e7051763c7ac6ca20a0f2960e0dda83a.zip |
Simplify player modification checks
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index bfe476b70..16830f3ec 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -32,14 +32,14 @@ enum LocalPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local class LocalPlayer : public Player { public: - LocalPlayer(IGameDef *gamedef); + LocalPlayer(IGameDef *gamedef, const char *name); virtual ~LocalPlayer(); bool isLocal() const { return true; } - + ClientActiveObject *parent; bool isAttached; |