summaryrefslogtreecommitdiff
path: root/src/simulation/elements/PBCN.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-10 14:51:55 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-10 14:51:55 (GMT)
commitb699bb176f41012a43c42dbbf1ec82b7e1c27d3d (patch)
tree3aa231af016fd8cd654b5aaec72ec12eecdc8a17 /src/simulation/elements/PBCN.cpp
parent52ec8f438b6ce3373c9258cbde402b4caef92b1e (diff)
downloadpowder-b699bb176f41012a43c42dbbf1ec82b7e1c27d3d.zip
powder-b699bb176f41012a43c42dbbf1ec82b7e1c27d3d.tar.gz
Add two new properties for CLNE-like elements
the thing CLNE does, drawing upon it will set ctype; and what BCLN does to CLNE - disables #1). Made use of the two new properties
Diffstat (limited to 'src/simulation/elements/PBCN.cpp')
-rw-r--r--src/simulation/elements/PBCN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/PBCN.cpp b/src/simulation/elements/PBCN.cpp
index ca24782..5bff0d5 100644
--- a/src/simulation/elements/PBCN.cpp
+++ b/src/simulation/elements/PBCN.cpp
@@ -31,7 +31,7 @@ Element_PBCN::Element_PBCN()
Description = "Powered breakable clone.";
State = ST_NONE;
- Properties = TYPE_SOLID;
+ Properties = TYPE_SOLID|PROP_NOCTYPEDRAW;
LowPressure = IPL;
LowPressureTransition = NT;