Dirk Hohndel 17bcd1bc60 get_gas_at_time needs to always give us a valid gas
Before this function was changed it was really supposed to just change a
gas that was passed in in case there was an event that changed the mix -
but with the new name the caller will assume that they get a valid gasmix.
And promptly we had one caller that didn't initialize gas to be based on
the first cylinder before calling get_gas_at_time().

Instead of adding yet one more spot that knows about the oddity of the old
API I simply changed get_gas_at_time() to do what it name appears to imply
and fixed the other callers not to bother to initialize the gasmix.

Fixes #647

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-07-18 18:46:51 -07:00
..
2014-06-26 15:47:02 -07:00
2014-02-08 08:00:27 -08:00
2014-06-26 15:47:02 -07:00
2014-06-26 15:47:02 -07:00
2014-07-11 07:06:26 -07:00
2014-06-26 15:47:02 -07:00
2014-07-15 17:05:46 -07:00
2014-07-13 21:39:25 -07:00
2014-07-14 18:33:54 -07:00
2014-07-16 13:17:09 -07:00
2014-07-11 21:59:21 -07:00
2014-06-26 15:47:02 -07:00
2014-06-26 15:47:02 -07:00
2014-07-18 10:21:42 -07:00
2014-07-18 10:21:42 -07:00
2014-07-18 10:21:42 -07:00
2014-07-16 09:11:04 -07:00