aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Guilds/Guild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Guilds/Guild.cpp')
-rw-r--r--src/server/game/Guilds/Guild.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp
index 227fee420bf..fd94688423e 100644
--- a/src/server/game/Guilds/Guild.cpp
+++ b/src/server/game/Guilds/Guild.cpp
@@ -738,12 +738,11 @@ void EmblemInfo::ReadPacket(WorldPackets::Guild::SaveGuildEmblem& packet)
m_backgroundColor = packet.Bg;
}
-bool EmblemInfo::ValidateEmblemColors() const
+bool EmblemInfo::ValidateEmblemColors(uint32 /*style*/, uint32 color, uint32 /*borderStyle*/, uint32 borderColor, uint32 backgroundColor)
{
- return sGuildColorBackgroundStore.LookupEntry(m_backgroundColor) &&
- sGuildColorBorderStore.LookupEntry(m_borderColor) &&
- sGuildColorEmblemStore.LookupEntry(m_color);
-
+ return sGuildColorBackgroundStore.LookupEntry(backgroundColor) &&
+ sGuildColorBorderStore.LookupEntry(borderColor) &&
+ sGuildColorEmblemStore.LookupEntry(color);
}
bool EmblemInfo::LoadFromDB(Field* fields)