From 74f6ee8eb5344d85c3f956a4a163740d0da28f5d Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Fri, 7 Jan 2011 20:33:47 +0000 Subject: [PATCH] Oops, fix INWR conductivity. --- src/powder.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/powder.c b/src/powder.c index b531a6383..550a3290c 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2178,6 +2178,10 @@ void update_particles_i(pixel *vid, int start, int inc) if (ct==PT_NSCN || ct==PT_INWR || ct==PT_PSCN) {} else conduct_sprk = 0; } + if (ct==PT_INWR) { + if (rt==PT_NSCN || rt==PT_INWR || rt==PT_PSCN) {} + else conduct_sprk = 0; + } if (ct==PT_INST&&rt!=PT_NSCN) conduct_sprk = 0; if (rt==PT_INST&&ct!=PT_PSCN) conduct_sprk = 0; if (ct==PT_SWCH&&(rt==PT_PSCN||rt==PT_NSCN||rt==PT_WATR||rt==PT_SLTW||rt==PT_NTCT||rt==PT_PTCT||rt==PT_INWR)) conduct_sprk = 0;