diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-25 00:47:04 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-25 00:47:04 +0100 |
commit | 508e505aced6f80a0ed1f3d89495add658b11956 (patch) | |
tree | 3cba9755c56b8332da5945c13eeb8676af0ae38c | |
parent | Fixed comments in main.cpp and Player.cpp (diff) | |
download | cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar.gz cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar.bz2 cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar.lz cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar.xz cuberite-508e505aced6f80a0ed1f3d89495add658b11956.tar.zst cuberite-508e505aced6f80a0ed1f3d89495add658b11956.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 6d199e130..a4b580b00 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -984,7 +984,7 @@ void cPlayer::SetGameMode(eGameMode a_GameMode) m_GameMode = a_GameMode; m_ClientHandle->SendGameMode(a_GameMode); - if (a_GameMode != gmCreative) + if (!IsGameModeCreative()) { SetFlying(false); SetCanFly(false); |