summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-02-22 16:54:32 (GMT)
committer jacob1 <jfu614@gmail.com>2013-02-22 16:54:32 (GMT)
commit11f45e3e992adc83447375f3b4e3d340970c91e5 (patch)
treeb82a3afb54f945f2b22d153d58c5713561c163a8 /src/simulation/Simulation.cpp
parent40c4289ce87f31cbc9f5194d37f068d89416d4c8 (diff)
downloadpowder-11f45e3e992adc83447375f3b4e3d340970c91e5.zip
powder-11f45e3e992adc83447375f3b4e3d340970c91e5.tar.gz
CRAY spawns elements at its temp, fix color glitch with ARAY too, move FRME to force
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index d8b19bc..3ebd723 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -2860,6 +2860,7 @@ int Simulation::create_part(int p, int x, int y, int tv)
parts[pmap[y][x]>>8].ctype = t;
if (t==PT_LIFE && v<NGOLALT)
parts[pmap[y][x]>>8].tmp2 = v;
+ parts[pmap[y][x]>>8].temp = elements[t].Temperature;
}
return -1;
}