diff options
| author | Stanislaw Skowronek <skylark@disorder.sko> | 2013-11-16 01:12:45 (GMT) |
|---|---|---|
| committer | Stanislaw Skowronek <skylark@disorder.sko> | 2013-11-16 01:12:45 (GMT) |
| commit | c133b7a99fea1b45ce80b6f5245a77fc886edd5d (patch) | |
| tree | 6c6b54b9f78b46da68f50890d6be27b4e2f39309 /src/simulation/elements/DEST.cpp | |
| parent | 76306f9260e519c098a312303e07be38860ef1f7 (diff) | |
| download | powder-c133b7a99fea1b45ce80b6f5245a77fc886edd5d.zip powder-c133b7a99fea1b45ce80b6f5245a77fc886edd5d.tar.gz | |
Solid plutonium.
Diffstat (limited to 'src/simulation/elements/DEST.cpp')
| -rw-r--r-- | src/simulation/elements/DEST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/DEST.cpp b/src/simulation/elements/DEST.cpp index d6f24f5..9072f31 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_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) |
