aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2014-08-29 13:33:12 +0200
committerShinDarth <borzifrancesco@gmail.com>2014-08-29 13:33:12 +0200
commit1b7a9d5bfb9261b0a2889aac33e5cf1e68c438ce (patch)
tree02c31a7e913b45a2ce02e8dd132b72ee5870893c /src
parentd6dbe52e64b1e6421b34877acd14b6008de97fa5 (diff)
Core/BG: use GetTypeID(true) instead of GetTypeID() to fetch the correct type even if it's a RGB
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp
index c11ee7a39b7..c88f9beee15 100644
--- a/src/server/game/Battlegrounds/Battleground.cpp
+++ b/src/server/game/Battlegrounds/Battleground.cpp
@@ -764,7 +764,7 @@ void Battleground::EndBattleground(uint32 winner)
{
stmt->setUInt64(0, battleground_id);
stmt->setUInt8(2, m_BracketId + 1);
- stmt->setUInt8(3, GetTypeID());
+ stmt->setUInt8(3, GetTypeID(true));
CharacterDatabase.Execute(stmt);
}