Core/BG: use GetTypeID(true) instead of GetTypeID() to fetch the correct type even if it's a RGB

This commit is contained in:
ShinDarth committed 2014-08-29 13:33:12 +02:00
1 parent d6dbe52e64
commit 1b7a9d5bfb
1 file changed
+1 -1
@@ -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);
}