Remove an overzealous addition of globals->get_props() before &ctrls
This commit is contained in:
parent
875713efad
commit
02a69f3af0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue