Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean some exothermic CBM code #38020

Merged
merged 3 commits into from
Feb 19, 2020
Merged

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Clean some exothermic CBM code"

Purpose of change

Clean some exothermic CBM code
Might be related to #37586 but I just can't reproduce the bugs in my testing both ethanol burner and gasoline fuel cell barely produce any heat.

Describe the solution

Remove pointer that are not usefull for simple types like int
Add a check to the emit_id, to avoid ethanol burner emits "emit_hot_air0_cbm" which does not exist

Describe alternatives you've considered

Testing

Compile without error

Additional context

@ifreund ifreund added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style Bionics CBM (Compact Bionic Modules) labels Feb 16, 2020
@Rivet-the-Zombie Rivet-the-Zombie merged commit 1d23fcc into CleverRaven:master Feb 19, 2020
@Fris0uman Fris0uman deleted the exo_clean branch February 19, 2020 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bionics CBM (Compact Bionic Modules) [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants