[Client] Set mMpNum to 0 for ManualRef

This commit is contained in:
David Cernat 2017-04-05 06:58:59 +03:00
parent 6c60c9c78e
commit 0df14320e0

View file

@ -23,6 +23,16 @@ namespace
cellRef.mLockLevel = 0;
cellRef.mReferenceBlocked = 0;
/*
Start of tes3mp addition
Set the mMpNum (unique multiplayer reference number) to 0 by default
*/
cellRef.mMpNum = 0;
/*
End of tes3mp addition
*/
MWWorld::LiveCellRef<T> ref(cellRef, base);
refValue = ref;