summaryrefslogtreecommitdiff
path: root/src/simulation/elements/PHOT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/PHOT.cpp')
-rw-r--r--src/simulation/elements/PHOT.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/elements/PHOT.cpp b/src/simulation/elements/PHOT.cpp
index d153111..ac8c5c8 100644
--- a/src/simulation/elements/PHOT.cpp
+++ b/src/simulation/elements/PHOT.cpp
@@ -132,7 +132,8 @@ int Element_PHOT::graphics(GRAPHICS_FUNC_ARGS)
*fireg = *colg;
*fireb = *colb;
- *pixel_mode |= FIRE_ADD;
+ *pixel_mode &= ~PMODE_FLAT;
+ *pixel_mode |= FIRE_ADD | PMODE_ADD;
return 0;
}