Eluna fix mangos tbc & classic

This commit is contained in:
Rochet2
2014-04-07 02:56:06 +03:00
committed by Foereaper
parent 16b6514589
commit e7cb68a3a6
2 changed files with 6 additions and 0 deletions

View File

@@ -231,7 +231,11 @@ namespace LuaGroup
if (icon >= TARGETICONCOUNT)
return luaL_argerror(L, 2, "valid target icon expected");
#if (defined(TBC) || defined(TBC))
group->SetTargetIcon(icon, ObjectGuid(target));
#else
group->SetTargetIcon(icon, ObjectGuid(setter), ObjectGuid(target));
#endif
return 0;
}

View File

@@ -2073,8 +2073,10 @@ namespace LuaPlayer
data << uint8(channel);
data << int32(LANG_ADDON);
data << uint64(player->GET_GUID());
#ifndef CLASSIC
data << uint32(0);
data << uint64(receiver->GET_GUID());
#endif
data << uint32(fullmsg.length() + 1);
data << fullmsg;
data << uint8(0);