diff options
| author | Jacob1 <jfu614@gmail.com> | 2012-05-23 23:53:50 (GMT) |
|---|---|---|
| committer | Jacob1 <jfu614@gmail.com> | 2012-05-23 23:53:50 (GMT) |
| commit | 1026963293716c8d340fcb857c0af092af92aa11 (patch) | |
| tree | 6649ab39b146da9c9f56e6369227708e64fa837d /src/elements/nble.c | |
| parent | 0799c2e09d2e7a4237b393c8eaa61031418ec402 (diff) | |
| download | powder-1026963293716c8d340fcb857c0af092af92aa11.zip powder-1026963293716c8d340fcb857c0af092af92aa11.tar.gz | |
fusion changes
Diffstat (limited to 'src/elements/nble.c')
| -rw-r--r-- | src/elements/nble.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/elements/nble.c b/src/elements/nble.c index bca0291..dea5787 100644 --- a/src/elements/nble.c +++ b/src/elements/nble.c @@ -25,16 +25,16 @@ int update_NBLE(UPDATE_FUNC_ARGS) float temp = parts[i].temp; part_change_type(i,x,y,PT_PLSM); parts[i].life = rand()%150+50; - j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_NEUT); if (j != -1) - j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_ELEC); if (j != -1) + j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_NEUT); if (j != -1) parts[j].temp = temp; + j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_ELEC); if (j != -1) parts[j].temp = temp; j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_PHOT); if (j != -1) { parts[j].ctype = 0xFF0000; parts[j].temp = temp; } j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_CO2); - if (j != -1) parts[j].temp = temp - 1000; + if (j != -1) parts[j].temp = temp; - parts[i].temp += 10000; - pv[y/CELL][x/CELL] += 30; + parts[i].temp += 1750+rand()%500; + pv[y/CELL][x/CELL] += 50; } } return 0; |
