fix NPE when using combustion engine with empty tank
Merge pull request #1014 from tomason/npe-combustion

fix NPE when using combustion engine with empty tank