Skip to content

Commit

Permalink
[12457] Change a default config setting to more fitting
Browse files Browse the repository at this point in the history
Also fix a stupid typo. Thanks to Xfurry for pointing
  • Loading branch information
Schmoozerd committed Apr 11, 2013
1 parent befdbfd commit 2a404f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/game/MotionMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ void MotionMaster::MoveFlyOrLand(uint32 id, float x, float y, float z, bool lift
if (m_owner->GetTypeId() != TYPEID_UNIT)
return;

DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "%s targeted point for %s (Id: %u X: %f Y: %f Z: %f %s)", m_owner->GetGuidStr().c_str(), liftOff ? "liftoff" : "landing", id, x, y, z);
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "%s targeted point for %s (Id: %u X: %f Y: %f Z: %f)", m_owner->GetGuidStr().c_str(), liftOff ? "liftoff" : "landing", id, x, y, z);
Mutate(new FlyOrLandMovementGenerator(id, x, y, z, liftOff));
}

Expand Down
2 changes: 1 addition & 1 deletion src/game/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ void World::LoadConfigSettings(bool reload)
setConfig(CONFIG_BOOL_INSTANCE_IGNORE_RAID, "Instance.IgnoreRaid", false);

setConfig(CONFIG_BOOL_CAST_UNSTUCK, "CastUnstuck", true);
setConfig(CONFIG_UINT32_MAX_SPELL_CASTS_IN_CHAIN, "MaxSpellCastsInChain", 10);
setConfig(CONFIG_UINT32_MAX_SPELL_CASTS_IN_CHAIN, "MaxSpellCastsInChain", 20);
setConfig(CONFIG_UINT32_BIRTHDAY_TIME, "BirthdayTime", 1125180000);
setConfig(CONFIG_UINT32_RABBIT_DAY, "RabbitDay", 0);

Expand Down
4 changes: 2 additions & 2 deletions src/mangosd/mangosd.conf.dist.in
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ LogColors = ""
# Max amount triggered spell casts in chain by one caster, prevent stack overflow crash
# Too Low value will make some correct triggered casts fail
# 0 (no limit)
# Default: 10
# Default: 20
#
# BirthdayTime
# Set to birthday (date in unix time), By default 28th August 2005, when MaNGOS got it�s name
Expand Down Expand Up @@ -809,7 +809,7 @@ AllFlightPaths = 0
AlwaysMaxSkillForLevel = 0
ActivateWeather = 1
CastUnstuck = 1
MaxSpellCastsInChain = 10
MaxSpellCastsInChain = 20
BirthdayTime = 1125180000
RabbitDay = 0
Instance.IgnoreLevel = 0
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12456"
#define REVISION_NR "12457"
#endif // __REVISION_NR_H__

0 comments on commit 2a404f3

Please sign in to comment.