* Melchior FRANZ -- Sunday 05 June 2005 15:44:

+    globals->add_subsystem("input", new FGInput);
+    SGSubsystem *input = globals->get_subsystem("input");

Of course, you'd make that

    SGSubsystem *input = new FGInput;
    globals->add_subsystem("input", input);

... to save a few cycles.  :-)

m.

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to