diff options
| author | jacob1 <jfu614@gmail.com> | 2012-10-05 00:16:57 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-05 15:33:54 (GMT) |
| commit | d159467b63b930958930f252b208ecb7e959ad97 (patch) | |
| tree | 72c3a3934b8826c951ec6b55236c7bc6bff4a6cf /src/simulation/elements/LOVE.cpp | |
| parent | f19f393e227e9158aced5ecd73dcb621e8d84569 (diff) | |
| download | powder-d159467b63b930958930f252b208ecb7e959ad97.zip powder-d159467b63b930958930f252b208ecb7e959ad97.tar.gz | |
LOLZ and LOVE work again
Diffstat (limited to 'src/simulation/elements/LOVE.cpp')
| -rw-r--r-- | src/simulation/elements/LOVE.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/simulation/elements/LOVE.cpp b/src/simulation/elements/LOVE.cpp index 28a20b7..e15cea2 100644 --- a/src/simulation/elements/LOVE.cpp +++ b/src/simulation/elements/LOVE.cpp @@ -49,13 +49,7 @@ Element_LOVE::Element_LOVE() //#TPT-Directive ElementHeader Element_LOVE static int update(UPDATE_FUNC_ARGS) int Element_LOVE::update(UPDATE_FUNC_ARGS) { - /*int t = parts[i].type; - if (t==PT_LOVE) - ISLOVE=1; - else if (t==PT_LOLZ) - ISLOLZ=1; - else if (t==PT_GRAV) - ISGRAV=1;*/ + sim->ISLOVE = true; return 0; } |
