From 4bf0a27495ec92319aa210baf4e8a7d920001f5e Mon Sep 17 00:00:00 2001 From: triclops200 Date: Tue, 27 Jul 2010 15:44:53 +0800 Subject: Fixed a bug with neon creating infinate pressure diff --git a/powder.c b/powder.c index 4b52a6d..1917ee6 100755 --- a/powder.c +++ b/powder.c @@ -1182,7 +1182,7 @@ void update_particles_i(pixel *vid, int start, int inc){ vy[y/CELL][x/CELL] *= ptypes[t].airloss; vx[y/CELL][x/CELL] += ptypes[t].airdrag*parts[i].vx; vy[y/CELL][x/CELL] += ptypes[t].airdrag*parts[i].vy; - if(t==PT_GASS) { + if(t==PT_GASS||t==PT_NEON) { if(pv[y/CELL][x/CELL]<3.5f) pv[y/CELL][x/CELL] += ptypes[t].hotair*(3.5f-pv[y/CELL][x/CELL]); if(y+CELL