diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:45:30 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:45:30 (GMT) |
| commit | 7859cc839c6ee33e5a4bc6946f3995dea2282413 (patch) | |
| tree | 61a9f5a85e26efa9d3ee8e05053dc9936ea2db15 /src/simulation/Simulation.cpp | |
| parent | e36bc8e4aeaf26b87d81f4e8df6c82c242256db9 (diff) | |
| download | powder-7859cc839c6ee33e5a4bc6946f3995dea2282413.zip powder-7859cc839c6ee33e5a4bc6946f3995dea2282413.tar.gz | |
TPT: Prevent STKM floating in gases 31a61d0888
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 9117fd0..d59d940 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -1850,7 +1850,7 @@ void Simulation::init_can_move() //spark shouldn't move can_move[PT_SPRK][t] = 0; stkm_move = 0; - if (elements[t].Properties&TYPE_LIQUID) + if (elements[t].Properties & (TYPE_LIQUID | TYPE_GAS)) stkm_move = 2; if (!t || t==PT_PRTO || t==PT_SPAWN || t==PT_SPAWN2) stkm_move = 2; |
