1
0
Fork 0

Remove an overzealous addition of globals->get_props() before &ctrls

This commit is contained in:
Erik Hofman 2021-03-23 14:37:19 +01:00
parent 875713efad
commit 02a69f3af0

View file

@ -411,7 +411,7 @@ void FGExternalPipe::update_binary( double dt ) {
*((int *)ptr) = iterations;
// cout << "iterations = " << iterations << endl;
ptr += sizeof(int);
memcpy( ptr, (char *)( globals->get_props(),&ctrls), length );
memcpy( ptr, (char *)(&ctrls), length );
// cout << "writing control structure, size = "
// << length + sizeof(int) << endl;