diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-26 10:56:46 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-26 10:56:46 (GMT) |
| commit | efc7565b6fb2958d7b50229178cd59835d06f9a0 (patch) | |
| tree | 16ea6119e51ab07539975866ded50e56b45ee533 /src/elements/plnt.c | |
| parent | 10f0c6665f81de9634703397b829d2c675910800 (diff) | |
| download | powder-efc7565b6fb2958d7b50229178cd59835d06f9a0.zip powder-efc7565b6fb2958d7b50229178cd59835d06f9a0.tar.gz | |
More stuff for CO2
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; |
