From befd4f5ef58844feed579eaa02b1eeb9dac50b8d Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 11 May 2012 18:11:05 +0100 Subject: [PATCH] Remove silly copypasta from GPMP, causing gravity to depend on air pressure --- src/elements/gpmp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/elements/gpmp.c b/src/elements/gpmp.c index 2e52460c4..819a1e398 100644 --- a/src/elements/gpmp.c +++ b/src/elements/gpmp.c @@ -27,8 +27,6 @@ int update_GPMP(UPDATE_FUNC_ARGS) { parts[i].temp = -256.0+273.15; gravmap[(y/CELL)*(XRES/CELL)+(x/CELL)] = 0.2f*(parts[i].temp-273.15); - if (y+CELL=0 && y+ry>0 && x+rx