summaryrefslogtreecommitdiff
path: root/src/elements/aray.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-11-26 12:44:52 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-11-26 12:44:52 (GMT)
commitd17336b4672e72791fa1f9ac1c5e7c04bbffd831 (patch)
tree88ee2b49e3ec9d1529a74ff2209f4ab5681e0cec /src/elements/aray.c
parent4c2f8d56f148b0a02d28f061f835f39efe4273e4 (diff)
downloadpowder-d17336b4672e72791fa1f9ac1c5e7c04bbffd831.zip
powder-d17336b4672e72791fa1f9ac1c5e7c04bbffd831.tar.gz
Allow pipe to grab from photon map, BRAY beam takes temp from ARAY
Diffstat (limited to 'src/elements/aray.c')
-rw-r--r--src/elements/aray.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elements/aray.c b/src/elements/aray.c
index 539b5a6..22ee26c 100644
--- a/src/elements/aray.c
+++ b/src/elements/aray.c
@@ -27,6 +27,7 @@ int update_ARAY(UPDATE_FUNC_ARGS) {
parts[nr].life = 2;
} else
parts[nr].ctype = colored;
+ parts[nr].temp = parts[i].temp;
}
} else if (!destroy) {
if ((r&0xFF)==PT_BRAY&&parts[r>>8].tmp==0) {//if it hits another BRAY that isn't red