mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Simplify player modification checks
This commit is contained in:
parent
b37bff72f1
commit
cd0df0d5e7
7 changed files with 30 additions and 48 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue