From 93d1aa2e4a0ae9ed73136301cc5d8d5ad42d0eca Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 31 Aug 2017 17:07:45 +0300 Subject: [PATCH] [Client] Comment out the broken sending of custom spells until 0.7.0 --- apps/openmw/mwmp/LocalPlayer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index 497981884..c26c2494a 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -1163,6 +1163,7 @@ void LocalPlayer::sendSpellRemoval(std::string id) void LocalPlayer::sendSpellAddition(const ESM::Spell &spell) { + /* spellbookChanges.spells.clear(); spellbookChanges.spells.push_back(spell); @@ -1170,10 +1171,12 @@ void LocalPlayer::sendSpellAddition(const ESM::Spell &spell) spellbookChanges.action = SpellbookChanges::ADD; getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this); getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send(); + */ } void LocalPlayer::sendSpellRemoval(const ESM::Spell &spell) { + /* spellbookChanges.spells.clear(); spellbookChanges.spells.push_back(spell); @@ -1181,6 +1184,7 @@ void LocalPlayer::sendSpellRemoval(const ESM::Spell &spell) spellbookChanges.action = SpellbookChanges::REMOVE; getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->setPlayer(this); getNetworking()->getPlayerPacket(ID_PLAYER_SPELLBOOK)->Send(); + */ } void LocalPlayer::sendJournalEntry(const std::string& quest, int index, const MWWorld::Ptr& actor)