diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-10-05 23:05:37 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-10-05 23:05:37 +0200 |
commit | 4a8e7bddcc9565e3e89b718e428aba23c97acdfa (patch) | |
tree | a6d7e486cfa1fd9c61eae37b4df39bb284d5f451 /src/Entities | |
parent | Merge pull request #2527 from cuberite/FixPrefabHitBox (diff) | |
parent | Spectator Mode doesn't fly[FIX] (diff) | |
download | cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar.gz cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar.bz2 cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar.lz cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar.xz cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.tar.zst cuberite-4a8e7bddcc9565e3e89b718e428aba23c97acdfa.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index d35b92296..57bf382d4 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1260,6 +1260,7 @@ void cPlayer::SetCapabilities() if (IsGameModeSpectator()) { SetVisible(false); + SetCanFly(true); } else { |