Fix cmangos (classic) build

This commit is contained in:
Rochet2
2016-11-27 20:53:42 +02:00
parent 4aba0d6da2
commit 67ea403f10
9 changed files with 78 additions and 8 deletions

View File

@@ -66,7 +66,11 @@ bool Eluna::OnUse(Player* pPlayer, Item* pItem, SpellCastTargets const& targets)
data << ObjectGuid(guid);
data << ObjectGuid(uint64(0));
data << uint8(0);
#ifdef CMANGOS
pPlayer->GetSession()->SendPacket(data);
#else
pPlayer->GetSession()->SendPacket(&data);
#endif
return false;
}