diff options
| author | Simon <simon@hardwired.org.uk> | 2011-04-08 10:09:42 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-04-08 10:09:42 (GMT) |
| commit | 767d73c5fc51647dcb5da4ed8349da2186c5060c (patch) | |
| tree | e9cb3540858927af4887553068fd348a95195092 /src/elements/glow.c | |
| parent | 1bdf72be1a306ac07641211adb2ec1539e3d0a48 (diff) | |
| download | powder-767d73c5fc51647dcb5da4ed8349da2186c5060c.zip powder-767d73c5fc51647dcb5da4ed8349da2186c5060c.tar.gz | |
astyle
Diffstat (limited to 'src/elements/glow.c')
| -rw-r--r-- | src/elements/glow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/glow.c b/src/elements/glow.c index d692233..ecbb005 100644 --- a/src/elements/glow.c +++ b/src/elements/glow.c @@ -17,7 +17,7 @@ int update_GLOW(UPDATE_FUNC_ARGS) { } } parts[i].ctype = pv[y/CELL][x/CELL]*16; - + parts[i].tmp = abs((int)((vx[y/CELL][x/CELL]+vy[y/CELL][x/CELL])*16.0f)) + abs((int)((parts[i].vx+parts[i].vy)*64.0f)); //printf("%f %f\n", parts[i].vx, parts[i].vy); if (parts[i].type==PT_NONE) { |
