summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortridiaq <tridiaq@gmail.com>2011-07-26 16:48:03 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-26 17:14:59 (GMT)
commit108e5643d7f96749d68f8e87d9b2bfddf1e5cf1a (patch)
treed8a7ade4655d56a8eb9c0d74d0e29882af4d252e /src
parent899969cc8a3453040ea2f5578942ae2375a79f59 (diff)
downloadpowder-108e5643d7f96749d68f8e87d9b2bfddf1e5cf1a.zip
powder-108e5643d7f96749d68f8e87d9b2bfddf1e5cf1a.tar.gz
DLAY temp fix
Diffstat (limited to 'src')
-rw-r--r--src/powder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c
index dbf9c45..447f3fd 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -984,6 +984,8 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a
}
if (t==PT_BIZR||t==PT_BIZRG)
parts[i].ctype = 0x47FFFF;
+ if (t==PT_DLAY)
+ parts[i].tmp2 = *((int*)(&parts[i].temp));
//and finally set the pmap/photon maps to the newly created particle
if (t==PT_PHOT||t==PT_NEUT)
photons[y][x] = t|(i<<8);