Permalink
Browse files

Disable deco on photons, to prevent potential confusion between wavel…

…ength and deco colours.

(Previously, it always glowed with the wavelengths colour, deco only worked fine in nothing view).
  • Loading branch information...
jacksonmj committed May 23, 2014
1 parent 1b3f3aa commit f304e789f49de70afc67afbe06e276b5510b0fd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/elements/PHOT.cpp
@@ -120,7 +120,7 @@ int Element_PHOT::graphics(GRAPHICS_FUNC_ARGS)
*fireb = *colb;
*pixel_mode &= ~PMODE_FLAT;
*pixel_mode |= FIRE_ADD | PMODE_ADD;
*pixel_mode |= FIRE_ADD | PMODE_ADD | NO_DECO;
return 0;
}

0 comments on commit f304e78

Please sign in to comment.