summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorJonathan Fabian <jonfabe@github>2014-12-03 02:24:05 +0100
committerJonathan Fabian <jonfabe@github>2014-12-03 02:24:05 +0100
commitb0e4643eb65f926a9e6b08ef73fa51adf03d92df (patch)
treecaacaab06d0e690f05a119cf722c13a518fd4977 /src/World.cpp
parentMerge pull request #1634 from mc-server/DungeonSpawners (diff)
downloadcuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar.gz
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar.bz2
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar.lz
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar.xz
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.tar.zst
cuberite-b0e4643eb65f926a9e6b08ef73fa51adf03d92df.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp2
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);