mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7604] Revert "[7603] Drop from mangosd.conf oudated not working option."
This reverts commit cbc6ca5b6eca140a781ced7f9e296577aa9f2af3.
This commit is contained in:
parent
b0a893a62f
commit
719f7661d8
3 changed files with 8 additions and 1 deletions
|
|
@ -857,6 +857,8 @@ void World::LoadConfigSettings(bool reload)
|
||||||
m_configs[CONFIG_SAVE_RESPAWN_TIME_IMMEDIATLY] = sConfig.GetBoolDefault("SaveRespawnTimeImmediately",true);
|
m_configs[CONFIG_SAVE_RESPAWN_TIME_IMMEDIATLY] = sConfig.GetBoolDefault("SaveRespawnTimeImmediately",true);
|
||||||
m_configs[CONFIG_WEATHER] = sConfig.GetBoolDefault("ActivateWeather",true);
|
m_configs[CONFIG_WEATHER] = sConfig.GetBoolDefault("ActivateWeather",true);
|
||||||
|
|
||||||
|
m_configs[CONFIG_DISABLE_BREATHING] = sConfig.GetIntDefault("DisableWaterBreath", SEC_CONSOLE);
|
||||||
|
|
||||||
m_configs[CONFIG_ALWAYS_MAX_SKILL_FOR_LEVEL] = sConfig.GetBoolDefault("AlwaysMaxSkillForLevel", false);
|
m_configs[CONFIG_ALWAYS_MAX_SKILL_FOR_LEVEL] = sConfig.GetBoolDefault("AlwaysMaxSkillForLevel", false);
|
||||||
|
|
||||||
if(reload)
|
if(reload)
|
||||||
|
|
|
||||||
|
|
@ -470,6 +470,10 @@ LogColors = ""
|
||||||
# Enable or disable instant logout for security level (0..4) or high (NOT in combat/while dueling/while falling)
|
# Enable or disable instant logout for security level (0..4) or high (NOT in combat/while dueling/while falling)
|
||||||
# Default: 1 (Mods/GMs/Admins)
|
# Default: 1 (Mods/GMs/Admins)
|
||||||
#
|
#
|
||||||
|
# DisableWaterBreath
|
||||||
|
# Disable/enable waterbreathing for security level (0..4) or high
|
||||||
|
# Default: 4 (None)
|
||||||
|
#
|
||||||
# AllFlightPaths
|
# AllFlightPaths
|
||||||
# Players will start with all flight paths (Note: ALL flight paths, not only player's team)
|
# Players will start with all flight paths (Note: ALL flight paths, not only player's team)
|
||||||
# Default: 0 (true)
|
# Default: 0 (true)
|
||||||
|
|
@ -590,6 +594,7 @@ StartHonorPoints = 0
|
||||||
MaxArenaPoints = 5000
|
MaxArenaPoints = 5000
|
||||||
StartArenaPoints = 0
|
StartArenaPoints = 0
|
||||||
InstantLogout = 1
|
InstantLogout = 1
|
||||||
|
DisableWaterBreath = 4
|
||||||
AllFlightPaths = 0
|
AllFlightPaths = 0
|
||||||
AlwaysMaxSkillForLevel = 0
|
AlwaysMaxSkillForLevel = 0
|
||||||
ActivateWeather = 1
|
ActivateWeather = 1
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7603"
|
#define REVISION_NR "7604"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue