diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-17 18:15:45 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-17 18:15:45 (GMT) |
| commit | 4d45bbedb3f46bc5ffc40fc0e4618252bd4a63d4 (patch) | |
| tree | c79ddbf5d1c13890912656c68490d514eb134763 /src/elements/deut.c | |
| parent | 152c29c868594da0bfa58c48283f334b4f3290a6 (diff) | |
| download | powder-4d45bbedb3f46bc5ffc40fc0e4618252bd4a63d4.zip powder-4d45bbedb3f46bc5ffc40fc0e4618252bd4a63d4.tar.gz | |
Fix glow for deut at ligh
Diffstat (limited to 'src/elements/deut.c')
| -rw-r--r-- | src/elements/deut.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/elements/deut.c b/src/elements/deut.c index 7289538..f4ed349 100644 --- a/src/elements/deut.c +++ b/src/elements/deut.c @@ -75,12 +75,13 @@ int update_DEUT(UPDATE_FUNC_ARGS) { int graphics_DEUT(GRAPHICS_FUNC_ARGS) { - if(cpart->life>=700) + if(cpart->life>=240) { - *colr += cpart->life*1; - *colg += cpart->life*2; - *colb += cpart->life*3; - *pixel_mode |= PMODE_GLOW; + *firea = 60; + *firer = *colr += cpart->life*1; + *fireg = *colg += cpart->life*2; + *fireb = *colb += cpart->life*3; + *pixel_mode |= PMODE_GLOW | FIRE_ADD; } else { |
