Fix setting of index for ID_SCRIPT_MEMBER_SHORT in InterpreterContext

This commit is contained in:
David Cernat 2016-10-27 15:02:40 +03:00
parent fd4085725e
commit 344f2b535a

View file

@ -613,7 +613,7 @@ namespace MWScript
{
mwmp::WorldEvent *event = mwmp::Main::get().getNetworking()->createWorldEvent();
event->cellRef.mRefID = id;
event->varName = name;
event->index = index;
event->shortVal = value;
mwmp::Main::get().getNetworking()->GetWorldPacket(ID_SCRIPT_MEMBER_SHORT)->Send(event);