Disable deco on photons, to prevent potential confusion between wavelength and deco colours.

(Previously, it always glowed with the wavelengths colour, deco only worked fine in nothing view).
This commit is contained in:
jacksonmj 2014-05-23 01:06:09 +01:00
parent 1b3f3aa979
commit f304e789f4

View File

@ -120,7 +120,7 @@ int Element_PHOT::graphics(GRAPHICS_FUNC_ARGS)
*fireb = *colb; *fireb = *colb;
*pixel_mode &= ~PMODE_FLAT; *pixel_mode &= ~PMODE_FLAT;
*pixel_mode |= FIRE_ADD | PMODE_ADD; *pixel_mode |= FIRE_ADD | PMODE_ADD | NO_DECO;
return 0; return 0;
} }