aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-gen-version.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-18 18:37:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-18 18:46:51 -0700
commit17bcd1bc6085013877888792754f52ce6b375aea (patch)
treebb4005fc606644336fd03d436fd1d5f7215e4928 /subsurface-gen-version.pri
parent359613210bf03d47fec5d19420f537aa5128f5cc (diff)
downloadsubsurface-17bcd1bc6085013877888792754f52ce6b375aea.tar.gz
get_gas_at_time needs to always give us a valid gasv4.1.91
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>
Diffstat (limited to 'subsurface-gen-version.pri')
0 files changed, 0 insertions, 0 deletions