From 7b0db672d1ff72caec1f45cbc0c855680337766d Mon Sep 17 00:00:00 2001 From: changyong guo Date: Mon, 23 Jul 2018 07:35:32 +0800 Subject: Keep players in gmNotSet (#4248) This allows players game mode to update to the default after portal to another world. Fixes #4207 --- src/Entities/Player.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index a2ee13b45..e710e8396 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -146,9 +146,6 @@ 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(); -- cgit v1.2.3