summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index b592913bd..058ece26e 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -139,6 +139,12 @@ public:
virtual void TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ) override;
+ // Sets the current gamemode, doesn't check validity, doesn't send update packets to client
+ void LoginSetGameMode(eGameMode a_GameMode);
+
+ // Updates player's capabilities - flying, visibility, etc. from their gamemode.
+ void SetCapabilities();
+
// tolua_begin
/** Prevent the player from moving and lock him into a_Location. */
@@ -174,12 +180,6 @@ public:
*/
void SetGameMode(eGameMode a_GameMode);
- // Sets the current gamemode, doesn't check validity, doesn't send update packets to client
- void LoginSetGameMode(eGameMode a_GameMode);
-
- // Updates player's capabilities - flying, visibility, etc. from their gamemode.
- void SetCapabilities();
-
/** Returns true if the player is in Creative mode, either explicitly, or by inheriting from current world */
bool IsGameModeCreative(void) const;