summaryrefslogtreecommitdiff
path: root/src/simulation/elements/DEST.cpp
diff options
context:
space:
mode:
authorStanislaw Skowronek <skylark@disorder.sko>2013-11-16 01:16:37 (GMT)
committer Stanislaw Skowronek <skylark@disorder.sko>2013-11-16 01:16:37 (GMT)
commit3296d01874d19e8310385c8bfc9a3a50a8319478 (patch)
treee552ac70330e083061af0a9b3bdc6fc42b2a056f /src/simulation/elements/DEST.cpp
parent7bee414f7c11b0c4e4a3d5d4535de3999fcd8cad (diff)
downloadpowder-3296d01874d19e8310385c8bfc9a3a50a8319478.zip
powder-3296d01874d19e8310385c8bfc9a3a50a8319478.tar.gz
Typ00s.
Diffstat (limited to 'src/simulation/elements/DEST.cpp')
-rw-r--r--src/simulation/elements/DEST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/DEST.cpp b/src/simulation/elements/DEST.cpp
index 9072f31..b13aef3 100644
--- a/src/simulation/elements/DEST.cpp
+++ b/src/simulation/elements/DEST.cpp
@@ -64,7 +64,7 @@ int Element_DEST::update(UPDATE_FUNC_ARGS)
parts[i].life=30+rand()%20;
sim->pv[y/CELL][x/CELL]+=60.0f;
}
- if ((r&0xFF)==PT_PLUT || r&0xFF)==PT_SPLU || (r&0xFF)==PT_DEUT)
+ if ((r&0xFF)==PT_PLUT || (r&0xFF)==PT_SPLU || (r&0xFF)==PT_DEUT)
{
sim->pv[y/CELL][x/CELL]+=20.0f;
if (rand()%2)