diff options
Diffstat (limited to 'src/elements/plnt.c')
| -rw-r--r-- | src/elements/plnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/plnt.c b/src/elements/plnt.c index 2ca38dd..5baec2f 100644 --- a/src/elements/plnt.c +++ b/src/elements/plnt.c @@ -20,7 +20,7 @@ int update_PLNT(UPDATE_FUNC_ARGS) { part_change_type(i,x,y,PT_FIRE); parts[i].life = 4; } - else if ((r&0xFF)==PT_SMKE && (1>rand()%250)) + else if (((r&0xFF)==PT_SMKE || (r&0xFF)==PT_CO2) && (1>rand()%250)) { kill_part(r>>8); parts[i].life = rand()%60 + 60; |
