summaryrefslogtreecommitdiff
path: root/src/elements/dest.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-18 19:46:34 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-18 19:46:34 (GMT)
commit94e7123791a99c6bccce41605d05cb360621eadc (patch)
tree58251d1a550f5b812ede6b094a5664d098e8fd31 /src/elements/dest.cpp
parent10e3f176d234782ecd097ab62dc328c6dafc5758 (diff)
downloadpowder-94e7123791a99c6bccce41605d05cb360621eadc.zip
powder-94e7123791a99c6bccce41605d05cb360621eadc.tar.gz
TPT: Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN 57d8335ca5
Diffstat (limited to 'src/elements/dest.cpp')
-rw-r--r--src/elements/dest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/dest.cpp b/src/elements/dest.cpp
index fa5faf8..5c18d55 100644
--- a/src/elements/dest.cpp
+++ b/src/elements/dest.cpp
@@ -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)