diff options
Diffstat (limited to 'src/elements/nptct.cpp')
| -rw-r--r-- | src/elements/nptct.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elements/nptct.cpp b/src/elements/nptct.cpp new file mode 100644 index 0000000..2d68a9b --- /dev/null +++ b/src/elements/nptct.cpp @@ -0,0 +1,7 @@ +#include "element.h" + +int update_NPTCT(UPDATE_FUNC_ARGS) { + if (parts[i].temp>295.0f) + parts[i].temp -= 2.5f; + return 0; +} |
