diff options
author | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-04 22:31:58 +0100 |
---|---|---|
committer | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-04 22:31:58 +0100 |
commit | 8557ab18d0cff48fbd3cefe45cdebc4be1afb71a (patch) | |
tree | a460a2b6d674e64764b6a70c820d7a1d9867e7f8 /src/World.cpp | |
parent | reformat for lua and CI (diff) | |
parent | Merge pull request #1645 from jonfabe/SpectatorModeFixes (diff) | |
download | cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar.gz cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar.bz2 cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar.lz cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar.xz cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.tar.zst cuberite-8557ab18d0cff48fbd3cefe45cdebc4be1afb71a.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 00c8caf13..9a6ef5c30 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -614,7 +614,7 @@ void cWorld::Start(void) } // Adjust the enum-backed variables into their respective bounds: - m_GameMode = (eGameMode) Clamp(GameMode, (int)gmSurvival, (int)gmAdventure); + m_GameMode = (eGameMode) Clamp(GameMode, (int)gmSurvival, (int)gmSpectator); m_TNTShrapnelLevel = (eShrapnelLevel)Clamp(TNTShrapnelLevel, (int)slNone, (int)slAll); m_Weather = (eWeather) Clamp(Weather, (int)wSunny, (int)wStorm); |