From 7c123cdb00427c8a1b0070c134cf17d2f8b313ee Mon Sep 17 00:00:00 2001 From: Cracker64 Date: Fri, 18 Feb 2011 08:03:14 +0800 Subject: [PATCH] NEUT fixed to dust and fwrk reaction. --- src/elements/neut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elements/neut.c b/src/elements/neut.c index aa3ddf0d5..a97701dc4 100644 --- a/src/elements/neut.c +++ b/src/elements/neut.c @@ -72,9 +72,9 @@ int update_NEUT(UPDATE_FUNC_ARGS) { else if ((r&0xFF)==PT_COAL && 5>(rand()%100)) create_part(r>>8, x+rx, y+ry, PT_WOOD); else if ((r&0xFF)==PT_DUST && 5>(rand()%100)) - create_part(r>>8, x+rx, y+ry, PT_FWRK); + part_change_type(r>>8, x+rx, y+ry, PT_FWRK); else if ((r&0xFF)==PT_FWRK && 5>(rand()%100)) - create_part(r>>8, x+rx, y+ry, PT_DUST); + parts[r>>8].ctype = PT_DUST; else if ((r&0xFF)==PT_ACID && 5>(rand()%100)) create_part(r>>8, x+rx, y+ry, PT_ISOZ); /*if(parts[r>>8].type>1 && parts[r>>8].type!=PT_NEUT && parts[r>>8].type-1!=PT_NEUT && parts[r>>8].type-1!=PT_STKM &&