From 108e5643d7f96749d68f8e87d9b2bfddf1e5cf1a Mon Sep 17 00:00:00 2001 From: tridiaq Date: Wed, 27 Jul 2011 00:48:03 +0800 Subject: [PATCH] DLAY temp fix --- src/powder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/powder.c b/src/powder.c index dbf9c45ac..447f3fdd9 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);