mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix mangos tbc & classic
This commit is contained in:
@@ -231,7 +231,11 @@ namespace LuaGroup
|
|||||||
if (icon >= TARGETICONCOUNT)
|
if (icon >= TARGETICONCOUNT)
|
||||||
return luaL_argerror(L, 2, "valid target icon expected");
|
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));
|
group->SetTargetIcon(icon, ObjectGuid(setter), ObjectGuid(target));
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2073,8 +2073,10 @@ namespace LuaPlayer
|
|||||||
data << uint8(channel);
|
data << uint8(channel);
|
||||||
data << int32(LANG_ADDON);
|
data << int32(LANG_ADDON);
|
||||||
data << uint64(player->GET_GUID());
|
data << uint64(player->GET_GUID());
|
||||||
|
#ifndef CLASSIC
|
||||||
data << uint32(0);
|
data << uint32(0);
|
||||||
data << uint64(receiver->GET_GUID());
|
data << uint64(receiver->GET_GUID());
|
||||||
|
#endif
|
||||||
data << uint32(fullmsg.length() + 1);
|
data << uint32(fullmsg.length() + 1);
|
||||||
data << fullmsg;
|
data << fullmsg;
|
||||||
data << uint8(0);
|
data << uint8(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user