[Client] Set InterpreterContext's sendPackets to false in constructor

This commit is contained in:
David Cernat 2017-01-27 16:01:53 +02:00
parent b658adf7b0
commit ee86c9161d
2 changed files with 4 additions and 1 deletions

View file

@ -150,6 +150,9 @@ namespace MWScript
// targeted scripts started from this one.
if (targetId.empty() && !reference.isEmpty())
mTargetId = reference.getCellRef().getRefId();
// Added by tes3mp
sendPackets = false;
}
int InterpreterContext::getLocalShort (int index) const

View file

@ -56,7 +56,7 @@ namespace MWScript
///< The ownership of \a locals is not transferred. 0-pointer allowed.
// Added by tes3mp
bool sendPackets = false;
bool sendPackets;
virtual int getLocalShort (int index) const;