summaryrefslogtreecommitdiff
path: root/src/simulation/elements/INVIS.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-13 00:28:00 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-13 00:28:00 (GMT)
commit5f81b707878f3ea30b713321219abd0d1f51afa9 (patch)
tree0927d6a59a6847d85c4956492d22aaf71137c980 /src/simulation/elements/INVIS.cpp
parent2aebc294e8d3bb339ce36ada46edfe87872cfa05 (diff)
downloadpowder-5f81b707878f3ea30b713321219abd0d1f51afa9.zip
powder-5f81b707878f3ea30b713321219abd0d1f51afa9.tar.gz
TPT: Avoid stacking in INVS and FILT, and fix pressurised INVS graphics
Diffstat (limited to 'src/simulation/elements/INVIS.cpp')
-rw-r--r--src/simulation/elements/INVIS.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/simulation/elements/INVIS.cpp b/src/simulation/elements/INVIS.cpp
index b14f8b6..6010967 100644
--- a/src/simulation/elements/INVIS.cpp
+++ b/src/simulation/elements/INVIS.cpp
@@ -57,11 +57,10 @@ int Element_INVIS::graphics(GRAPHICS_FUNC_ARGS)
*colr = 15;
*colg = 0;
*colb = 150;
- *pixel_mode &= PMODE;
- *pixel_mode |= PMODE_BLEND;
+ *pixel_mode = PMODE_BLEND;
}
return 0;
}
-Element_INVIS::~Element_INVIS() {} \ No newline at end of file
+Element_INVIS::~Element_INVIS() {}