History

sendPacket function take Node& not a pointer

Atlante45 committed 11 years ago

Commit 957e6391 parent 4e2cbb315 files · +33 −33Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−1
@@ -675,7 +675,7 @@ void ScriptEngine::run() { · 674 unmodified lines
675675 audioPacket->writePrimitive(sequence);
676676
677677 // send audio packet
678− nodeList->sendUnreliablePacket(*audioPacket, node);
678+ nodeList->sendUnreliablePacket(*audioPacket, *node);
679679 }
680680 });
681681 }