pioneerspacesim/pioneer — pull request #1201 by johnbartholomew (2012-04-18 17:26:40+00:00)
Title: Fix minor bug in fuel scoop logic

For #1200.

`p->Body::GetSBody()` is not the same as `p->GetSBody()`. The first bypasses dynamic dispatch; that is, it ignores the 'virtual'ness of `GetSBody` and calls `Body::GetSBody` directly.

This patch also adds a short-cut test so the fuel scoop logic is only run during flight.