diff options
| author | Cate <cate@cate-6sh2.(none)> | 2011-07-08 15:51:44 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-07-08 17:09:16 (GMT) |
| commit | d2eb6f1cb31f2d746d5897e775424ed0d1448703 (patch) | |
| tree | 675a62a45a662f067d7e4649410c1b1bce71fc4b /src/powder.c | |
| parent | 6a6c5d03f6d38882d520c3077de9b8b389b50e19 (diff) | |
| download | powder-d2eb6f1cb31f2d746d5897e775424ed0d1448703.zip powder-d2eb6f1cb31f2d746d5897e775424ed0d1448703.tar.gz | |
Deleted whole repository due to weirdness with recognizing folder. From current source, added Cracker64's changes that make 1px pipe several times faster than thicker pipe. Doesn't break saves. :D
Diffstat (limited to 'src/powder.c')
| -rw-r--r-- | src/powder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/powder.c b/src/powder.c index 3acad8e..0fa16c9 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1935,11 +1935,11 @@ void update_particles_i(pixel *vid, int start, int inc) //call the particle update function, if there is one if (ptypes[t].update_func) { - if ((*(ptypes[t].update_func))(i,x,y,surround_space)) + if ((*(ptypes[t].update_func))(i,x,y,surround_space,nt)) continue; } if (legacy_enable)//if heat sim is off - update_legacy_all(i,x,y,surround_space); + update_legacy_all(i,x,y,surround_space,nt); killed: if (parts[i].type == PT_NONE)//if its dead, skip to next particle |
