1
0
Fork 0

make use of the new removeChildren()

This commit is contained in:
mfranz 2005-10-23 12:32:15 +00:00
parent 31fa633d74
commit 694426c103

View file

@ -486,8 +486,7 @@ FGInput::_init_joystick ()
}
// get rid of unused config nodes
for (unsigned int m = 0; m < js_named.size(); m++)
js_nodes->removeChild("js-named", js_named[m]->getIndex(), false);
js_nodes->removeChildren("js-named", false);
}