summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-03 22:54:51 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-03 22:54:51 (GMT)
commit57d8335ca5c20d2fd0bbb7da17f1ca5afe0ea46c (patch)
treed842b5180e3f95960c2bf4d0c3fd4ff0990f4174 /src/elements
parent4b4830b5a46258e399179faf2aacf54fe57adf46 (diff)
downloadpowder-57d8335ca5c20d2fd0bbb7da17f1ca5afe0ea46c.zip
powder-57d8335ca5c20d2fd0bbb7da17f1ca5afe0ea46c.tar.gz
Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN. Add icon for Force elements, minor edits to Gas and Atomic element icons
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/dest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/dest.c b/src/elements/dest.c
index a315b09..3a979f5 100644
--- a/src/elements/dest.c
+++ b/src/elements/dest.c
@@ -6,7 +6,7 @@ int update_DEST(UPDATE_FUNC_ARGS) {
ry=rand()%5-2;
r = pmap[y+ry][x+rx];
- if (!r || (r&0xFF)==PT_DEST || (r&0xFF)==PT_DMND)
+ if (!r || (r&0xFF)==PT_DEST || (r&0xFF)==PT_DMND || (r&0xFF)==PT_BCLN || (r&0xFF)==PT_CLNE || (r&0xFF)==PT_PCLN || (r&0xFF)==PT_PBCN)
return 0;
if (parts[i].life<=0 || parts[i].life>37)