diff options
| author | jacob1 <jfu614@gmail.com> | 2013-08-30 02:18:35 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-08-30 02:18:35 (GMT) |
| commit | d38af2764c682370b4f604d54142b984fdd079cf (patch) | |
| tree | ba2c8b7c001798bf85f33ee3fd2e4922e47634c2 /src/simulation/Simulation.cpp | |
| parent | b17ef7f938808fe972030757921e958793a17943 (diff) | |
| download | powder-d38af2764c682370b4f604d54142b984fdd079cf.zip powder-d38af2764c682370b4f604d54142b984fdd079cf.tar.gz | |
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
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 64371ac..6192356 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -2835,7 +2835,7 @@ int Simulation::create_part(int p, int x, int y, int tv) break; case PT_QRTZ: case PT_PQRT: - parts[i].tmp = (rand()%11); + parts[i].tmp2 = (rand()%11); break; case PT_CLST: parts[i].tmp = (rand()%7); |
