diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-12-19 15:21:27 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-12-19 15:21:27 (GMT) |
| commit | 5e0bec261c621246170f356285851601e603ba9a (patch) | |
| tree | 28f36c8e1671b16015264ca4f4aeed78106594ee /src/elements/clst.c | |
| parent | d6953be3a8271785b5912f3105f3ca92cc17aaae (diff) | |
| download | powder-5e0bec261c621246170f356285851601e603ba9a.zip powder-5e0bec261c621246170f356285851601e603ba9a.tar.gz | |
CLST+NITR = TNT, Use ARAY to clear large arrays of STOR
Diffstat (limited to 'src/elements/clst.c')
| -rw-r--r-- | src/elements/clst.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/elements/clst.c b/src/elements/clst.c index 8666582..a9e07e1 100644 --- a/src/elements/clst.c +++ b/src/elements/clst.c @@ -15,6 +15,11 @@ int update_CLST(UPDATE_FUNC_ARGS) { part_change_type(i,x,y,PT_PSTS); kill_part(r>>8); } + if ((r&0xFF)==PT_NITR) + { + create_part(i, x, y, PT_BANG); + create_part(r>>8, x+rx, y+ry, PT_BANG); + } if ((r&0xFF)==PT_CLST) { if(parts[i].temp <195) |
