[7422] Allow localization base at guildmaster locale default guild rank names at guild creating.

This commit is contained in:
VladimirMangos 2009-03-09 11:40:18 +03:00
parent 60a3366892
commit eac584eb89
10 changed files with 42 additions and 27 deletions

View file

@ -824,7 +824,7 @@ void WorldSession::HandleTurnInPetitionOpcode(WorldPacket & recv_data)
if(type == 9) // create guild
{
Guild* guild = new Guild;
if(!guild->create(_player->GetGUID(), name))
if(!guild->create(_player, name))
{
delete guild;
delete result;