mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
[Client] Comment out the broken sending of custom spells until 0.7.0
This commit is contained in:
parent
e81dafb28a
commit
93d1aa2e4a
@ -1163,6 +1163,7 @@ void LocalPlayer::sendSpellRemoval(std::string id)
|
|||||||
|
|
||||||
void LocalPlayer::sendSpellAddition(const ESM::Spell &spell)
|
void LocalPlayer::sendSpellAddition(const ESM::Spell &spell)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
spellbookChanges.spells.clear();
|
spellbookChanges.spells.clear();
|
||||||
|
|
||||||
spellbookChanges.spells.push_back(spell);
|
spellbookChanges.spells.push_back(spell);
|
||||||
@ -1170,10 +1171,12 @@ void LocalPlayer::sendSpellAddition(const ESM::Spell &spell)
|
|||||||
spellbookChanges.action = SpellbookChanges::ADD;
|
spellbookChanges.action = SpellbookChanges::ADD;
|
||||||
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this);
|
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this);
|
||||||
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send();
|
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send();
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalPlayer::sendSpellRemoval(const ESM::Spell &spell)
|
void LocalPlayer::sendSpellRemoval(const ESM::Spell &spell)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
spellbookChanges.spells.clear();
|
spellbookChanges.spells.clear();
|
||||||
|
|
||||||
spellbookChanges.spells.push_back(spell);
|
spellbookChanges.spells.push_back(spell);
|
||||||
@ -1181,6 +1184,7 @@ void LocalPlayer::sendSpellRemoval(const ESM::Spell &spell)
|
|||||||
spellbookChanges.action = SpellbookChanges::REMOVE;
|
spellbookChanges.action = SpellbookChanges::REMOVE;
|
||||||
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this);
|
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this);
|
||||||
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send();
|
getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send();
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalPlayer::sendJournalEntry(const std::string& quest, int index, const MWWorld::Ptr& actor)
|
void LocalPlayer::sendJournalEntry(const std::string& quest, int index, const MWWorld::Ptr& actor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user