From 3296d01874d19e8310385c8bfc9a3a50a8319478 Mon Sep 17 00:00:00 2001 From: Stanislaw Skowronek Date: Fri, 15 Nov 2013 20:16:37 -0500 Subject: Typ00s. diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index e85b373..375d918 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4449,7 +4449,7 @@ killed: else if ((r & 0xFF) == PT_GOO) parts[i].ctype &= 0x3FFAAA00; else if ((r & 0xFF) == PT_PLNT) parts[i].ctype &= 0x0007C000; else if ((r & 0xFF) == PT_PLUT) parts[i].ctype &= 0x001FCE00; - else if ((r & 0xFF) == PT_SPLT) parts[i].ctype &= 0x001FCE00; + else if ((r & 0xFF) == PT_SPLU) parts[i].ctype &= 0x001FCE00; else if ((r & 0xFF) == PT_URAN) parts[i].ctype &= 0x003FC000; else if ((r & 0xFF) == PT_GOLD) parts[i].ctype &= 0x3C038100; 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) -- cgit v0.9.2-21-gd62e