mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 16:19:41 +00:00
[Client] Set InterpreterContext's sendPackets to false in constructor
This commit is contained in:
parent
b658adf7b0
commit
ee86c9161d
2 changed files with 4 additions and 1 deletions
|
@ -150,6 +150,9 @@ namespace MWScript
|
||||||
// targeted scripts started from this one.
|
// targeted scripts started from this one.
|
||||||
if (targetId.empty() && !reference.isEmpty())
|
if (targetId.empty() && !reference.isEmpty())
|
||||||
mTargetId = reference.getCellRef().getRefId();
|
mTargetId = reference.getCellRef().getRefId();
|
||||||
|
|
||||||
|
// Added by tes3mp
|
||||||
|
sendPackets = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int InterpreterContext::getLocalShort (int index) const
|
int InterpreterContext::getLocalShort (int index) const
|
||||||
|
|
|
@ -56,7 +56,7 @@ namespace MWScript
|
||||||
///< The ownership of \a locals is not transferred. 0-pointer allowed.
|
///< The ownership of \a locals is not transferred. 0-pointer allowed.
|
||||||
|
|
||||||
// Added by tes3mp
|
// Added by tes3mp
|
||||||
bool sendPackets = false;
|
bool sendPackets;
|
||||||
|
|
||||||
virtual int getLocalShort (int index) const;
|
virtual int getLocalShort (int index) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue