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

coverity_scan^2
David Cernat 8 years ago
parent b658adf7b0
commit ee86c9161d

@ -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

@ -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;

Loading…
Cancel
Save