summaryrefslogtreecommitdiff
path: root/src/simulation/elements/PRTI.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-06 15:14:08 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-06 15:14:08 (GMT)
commit662640c96c86ba83132f0683c35bfba24b43783c (patch)
tree5f0b5270d9410a683d45909e789c478c01d6d6e0 /src/simulation/elements/PRTI.cpp
parent0e43f2e83118897bc916db69a012f4686429d930 (diff)
downloadpowder-662640c96c86ba83132f0683c35bfba24b43783c.zip
powder-662640c96c86ba83132f0683c35bfba24b43783c.tar.gz
Fix previous merge with SOAP.cpp that created a bug in SOAP. add debug lines for PRTI, PRTO, WIFI and lines for SOAP.
Diffstat (limited to 'src/simulation/elements/PRTI.cpp')
-rw-r--r--src/simulation/elements/PRTI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/elements/PRTI.cpp b/src/simulation/elements/PRTI.cpp
index 451c54b..8383d90 100644
--- a/src/simulation/elements/PRTI.cpp
+++ b/src/simulation/elements/PRTI.cpp
@@ -129,6 +129,7 @@ int Element_PRTI::graphics(GRAPHICS_FUNC_ARGS)
*firer = 255;
*fireg = 0;
*fireb = 0;
+ *pixel_mode |= EFFECT_DBGLINES;
*pixel_mode |= EFFECT_GRAVIN;
*pixel_mode &= ~PMODE;
*pixel_mode |= PMODE_ADD;