From f304e789f49de70afc67afbe06e276b5510b0fd3 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Fri, 23 May 2014 01:06:09 +0100 Subject: [PATCH] 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). --- src/simulation/elements/PHOT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/PHOT.cpp b/src/simulation/elements/PHOT.cpp index 3c9435156..cfb104335 100644 --- a/src/simulation/elements/PHOT.cpp +++ b/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; }