From e769f3feb828a2d5ecc6bf58e679d5ac0561b961 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 16 Feb 2012 21:39:29 +0000 Subject: [PATCH] Allow BRAY from PSCN to pass through sparked INWR (it currently passes through INWR only when not sparked) --- src/elements/aray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/aray.c b/src/elements/aray.c index 85f59e3c1..c1a1bf4a4 100644 --- a/src/elements/aray.c +++ b/src/elements/aray.c @@ -84,7 +84,7 @@ int update_ARAY(UPDATE_FUNC_ARGS) { parts[r>>8].life = 1; docontinue = 1; //this if prevents red BRAY from stopping on certain materials - } else if ((r&0xFF)==PT_STOR || (r&0xFF)==PT_INWR || (r&0xFF)==PT_ARAY || (r&0xFF)==PT_WIFI || (r&0xFF)==PT_FILT || ((r&0xFF)==PT_SWCH && parts[r>>8].life>=10)) { + } else if ((r&0xFF)==PT_STOR || (r&0xFF)==PT_INWR || ((r&0xFF)==PT_SPRK && parts[r>>8].ctype==PT_INWR) || (r&0xFF)==PT_ARAY || (r&0xFF)==PT_WIFI || (r&0xFF)==PT_FILT || ((r&0xFF)==PT_SWCH && parts[r>>8].life>=10)) { if((r&0xFF)==PT_STOR) { parts[r>>8].tmp = 0;