summaryrefslogtreecommitdiff
path: root/src/simulation/elements/CLNE.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/CLNE.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/CLNE.cpp')
-rw-r--r--src/simulation/elements/CLNE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/CLNE.cpp b/src/simulation/elements/CLNE.cpp
index f0dffc2..04b0374 100644
--- a/src/simulation/elements/CLNE.cpp
+++ b/src/simulation/elements/CLNE.cpp
@@ -31,7 +31,7 @@ Element_CLNE::Element_CLNE()
Description = "Solid. Duplicates any particles it touches.";
State = ST_SOLID;
- Properties = TYPE_SOLID;
+ Properties = TYPE_SOLID|PROP_DRAWONCTYPE|PROP_NOCTYPEDRAW;
LowPressure = IPL;
LowPressureTransition = NT;