mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
sanity check nodelist presence
This commit is contained in:
parent
c04f3ae166
commit
ad05a78946
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ void NodeListEvent::unpack(NetConnection* conn, BitStream* stream)
|
||||||
stream->read(&mTotalNodes);
|
stream->read(&mTotalNodes);
|
||||||
stream->read(&mLocalListStart);
|
stream->read(&mLocalListStart);
|
||||||
|
|
||||||
mNodeList->mId = mId;
|
if (mNodeList)
|
||||||
|
mNodeList->mId = mId;
|
||||||
|
|
||||||
// NOTE: Child class needs to populate the local node list
|
// NOTE: Child class needs to populate the local node list
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue