mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*A missing part of previous patch.
--HG-- branch : trunk
This commit is contained in:
@@ -1843,7 +1843,7 @@ void BattleGround::SetHoliday(bool is_holiday)
|
||||
|
||||
int32 BattleGround::GetObjectType(uint64 guid)
|
||||
{
|
||||
for(uint32 i = 0;i <= m_BgObjects.size(); i++)
|
||||
for(uint32 i = 0; i < m_BgObjects.size(); ++i)
|
||||
if(m_BgObjects[i] == guid)
|
||||
return i;
|
||||
sLog.outError("BattleGround: cheating? a player used a gameobject which isnt supposed to be a usable object!");
|
||||
|
||||
@@ -1197,7 +1197,7 @@ void Group::_setLeader(const uint64 &guid)
|
||||
|
||||
void Group::_removeRolls(const uint64 &guid)
|
||||
{
|
||||
for (Rolls::iterator it = RollId.begin(); it < RollId.end(); ++it)
|
||||
for (Rolls::iterator it = RollId.begin(); it != RollId.end(); ++it)
|
||||
{
|
||||
Roll* roll = *it;
|
||||
Roll::PlayerVote::iterator itr2 = roll->playerVote.find(guid);
|
||||
|
||||
@@ -1588,7 +1588,7 @@ Ra.Secure = 1
|
||||
# The start time of the first battle after server starts (default: 30 minutes)
|
||||
# OutdoorPvP.Wintergrasp.BattleTime = 30
|
||||
# Time limit of a battle
|
||||
# OutdoorPvP.Wintergrasp.BattleInterval
|
||||
# OutdoorPvP.Wintergrasp.Interval
|
||||
# Interval between battles (default: 150 minutes)
|
||||
#
|
||||
# ForbiddenMaps
|
||||
@@ -1634,7 +1634,7 @@ PvPToken.ItemID = 29434
|
||||
PvPToken.ItemCount = 1
|
||||
OutdoorPvP.Wintergrasp.StartTime = 30
|
||||
OutdoorPvP.Wintergrasp.BattleTime = 30
|
||||
OutdoorPvP.Wintergrasp.BattleInterval = 150
|
||||
OutdoorPvP.Wintergrasp.Interval = 150
|
||||
NoResetTalentsCost = 0
|
||||
ShowKickInWorld = 0
|
||||
RecordUpdateTimeDiffInterval = 60000
|
||||
|
||||
Reference in New Issue
Block a user