summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-12 19:13:04 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-12 19:13:04 (GMT)
commitf8badc05d40703cbdd504cc593715f992a40f1f9 (patch)
tree3cee1f1b530e54ba16ccbeacaaf9c7de73f0a48f /src/simulation/elements
parent9b8fba4a1912ed74c5471d7f83fd2bace925c213 (diff)
downloadpowder-f8badc05d40703cbdd504cc593715f992a40f1f9.zip
powder-f8badc05d40703cbdd504cc593715f992a40f1f9.tar.gz
TPT: Fixed the bug with snow, where it melted without taking it's ctype into account.
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/SNOW.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/SNOW.cpp b/src/simulation/elements/SNOW.cpp
index 0d09611..9d8a6a5 100644
--- a/src/simulation/elements/SNOW.cpp
+++ b/src/simulation/elements/SNOW.cpp
@@ -40,7 +40,7 @@ Element_SNOW::Element_SNOW()
LowTemperature = ITL;
LowTemperatureTransition = NT;
HighTemperature = 273.0f;
- HighTemperatureTransition = PT_WATR;
+ HighTemperatureTransition = ST;
Update = &Element_SNOW::update;
Graphics = NULL;
@@ -71,4 +71,4 @@ int Element_SNOW::update(UPDATE_FUNC_ARGS)
}
-Element_SNOW::~Element_SNOW() {} \ No newline at end of file
+Element_SNOW::~Element_SNOW() {}