diff --git a/config.ini b/config.ini index de375de..0050f2d 100644 --- a/config.ini +++ b/config.ini @@ -69,8 +69,6 @@ accountlevel=1 # 2 = Halloween # 3 = Easter eventmode=0 -# percent chance of an event crate dropping each kill -eventcratechance=10 # you can override the default spawn point. # these example coords are for the Future (Z is height): diff --git a/src/settings.cpp b/src/settings.cpp index 03aa864..7ab50e9 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -60,7 +60,6 @@ int settings::MONITORINTERVAL = 5000; // event mode settings int settings::EVENTMODE = 0; -int settings::EVENTCRATECHANCE = 10; void settings::init() { INIReader reader("config.ini"); @@ -99,7 +98,6 @@ void settings::init() { DBPATH = reader.Get("shard", "dbpath", DBPATH); ACCLEVEL = reader.GetInteger("shard", "accountlevel", ACCLEVEL); EVENTMODE = reader.GetInteger("shard", "eventmode", EVENTMODE); - EVENTCRATECHANCE = reader.GetInteger("shard", "eventcratechance", EVENTCRATECHANCE); DISABLEFIRSTUSEFLAG = reader.GetBoolean("shard", "disablefirstuseflag", DISABLEFIRSTUSEFLAG); MONITORENABLED = reader.GetBoolean("monitor", "enabled", MONITORENABLED); MONITORPORT = reader.GetInteger("monitor", "port", MONITORPORT); diff --git a/src/settings.hpp b/src/settings.hpp index 9836668..9fbe89a 100644 --- a/src/settings.hpp +++ b/src/settings.hpp @@ -26,7 +26,6 @@ namespace settings { extern std::string GRUNTWORKJSON; extern std::string DBPATH; extern int EVENTMODE; - extern int EVENTCRATECHANCE; extern bool MONITORENABLED; extern int MONITORPORT; extern int MONITORINTERVAL;