diff --git a/src/elements/dstw.c b/src/elements/dstw.c index 7ce6c090a..390896d41 100644 --- a/src/elements/dstw.c +++ b/src/elements/dstw.c @@ -27,6 +27,13 @@ int update_DSTW(UPDATE_FUNC_ARGS) { part_change_type(i,x,y,PT_FIRE); parts[i].life = 4; } + if ((r&0xFF)==PT_FIRE){ + kill_part(r>>8); + if(1>(rand()%150)){ + kill_part(i); + return 1; + } + } } return 0; } diff --git a/src/elements/sltw.c b/src/elements/sltw.c index b6d18bbce..ed62e40b6 100644 --- a/src/elements/sltw.c +++ b/src/elements/sltw.c @@ -18,6 +18,13 @@ int update_SLTW(UPDATE_FUNC_ARGS) { part_change_type(i,x,y,PT_FIRE); parts[i].life = 4; } + if ((r&0xFF)==PT_FIRE){ + kill_part(r>>8); + if(1>(rand()%150)){ + kill_part(i); + return 1; + } + } } return 0; } diff --git a/src/elements/watr.c b/src/elements/watr.c index 5810cd459..92c906d27 100644 --- a/src/elements/watr.c +++ b/src/elements/watr.c @@ -19,6 +19,13 @@ int update_WATR(UPDATE_FUNC_ARGS) { part_change_type(i,x,y,PT_FIRE); parts[i].life = 4; } + if ((r&0xFF)==PT_FIRE){ + kill_part(r>>8); + if(1>(rand()%150)){ + kill_part(i); + return 1; + } + } /*if ((r&0xFF)==PT_CNCT && 1>(rand()%500)) Concrete+Water to paste, not very popular { part_change_type(i,x,y,PT_PSTE);