forked from teamnwah/openmw-tes3coop
[Client] Comment out the broken sending of custom spells until 0.7.0
This commit is contained in:
parent
e81dafb28a
commit
93d1aa2e4a
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue