History

fix packet offset for owner UUID

Stephen Birarda committed 12 years ago

Commit 8e5d4b61 parent f13aa321 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−1
@@ -250,7 +250,7 @@ void ScriptEngine::run() { · 249 unmodified lines
250250
251251 // pack the owner UUID for this script
252252 QByteArray ownerUUID = nodeList->getOwnerUUID().toRfc4122();
253− memcpy(avatarPacket, ownerUUID.constData(), ownerUUID.size());
253+ memcpy(avatarPacket + numAvatarHeaderBytes, ownerUUID.constData(), ownerUUID.size());
254254 numAvatarHeaderBytes += ownerUUID.size();
255255 }
256256