diff options
Diffstat (limited to 'src/elements/neut.c')
| -rw-r--r-- | src/elements/neut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/neut.c b/src/elements/neut.c index 94692aa..98b7eda 100644 --- a/src/elements/neut.c +++ b/src/elements/neut.c @@ -1,7 +1,7 @@ #include <powder.h> int update_NEUT(UPDATE_FUNC_ARGS) { - int r, fe; + int r; int rt = 3 + (int)pv[y/CELL][x/CELL]; for (nx=-1; nx<2; nx++) for (ny=-1; ny<2; ny++) @@ -34,7 +34,7 @@ int update_NEUT(UPDATE_FUNC_ARGS) { parts[r>>8].vy = 0.25f*parts[r>>8].vy + parts[i].vy; } pv[y/CELL][x/CELL] += 10.0f * CFDS; //Used to be 2, some people said nukes weren't powerful enough - fe ++; + update_PYRO(UPDATE_FUNC_SUBCALL_ARGS); } if ((r&0xFF)==PT_DEUT && (rt+1)>(rand()%1000)) { |
