Robert C. Helling 41258647d2 Don't access gasmix.o2.fraction
Air is a special gas that does not contain oxygen according
to gasmix.o2.fraction. If you want to use the fo2, you
need to use get_o2() to treat this special case correctly.

This fixes a bug when setting the MND of a gas containing
21% oxygen when o2 is considered not narcotic.

Reported-by: Christoph Gruen <gruen.christoph@gmail.com>
Signed-off-by: Robert C. Helling <helling@atdotde.de>
2021-10-01 08:50:36 -07:00
..
2018-01-08 06:06:12 +02:00
2015-03-10 10:03:08 -07:00
2014-01-08 21:54:29 +08:00
2011-11-04 14:54:22 -07:00
2012-09-17 21:03:30 -04:00
2013-12-28 07:40:54 -08:00
2014-02-06 11:29:23 -08:00
2014-04-07 14:20:01 -07:00
2014-11-17 00:24:33 +00:00
2015-04-24 07:07:31 -07:00
2015-03-14 18:15:08 -07:00
2015-03-16 12:42:36 -07:00
2017-02-21 13:14:56 -08:00
2021-02-26 08:42:30 -08:00
2019-04-12 18:19:07 +03:00
2013-02-26 08:50:05 -08:00
2013-03-05 11:08:08 -08:00
2015-07-13 15:21:30 -07:00
2013-12-24 10:43:29 -08:00