Permalink
Browse files

fix DRAY with .tmp = 0 (broken in a115e78)

  • Loading branch information...
jacob1 committed May 23, 2015
1 parent 9fef463 commit c9d5841101cb1e405d05ecd1b1f184a7e0957bc6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/elements/DRAY.cpp
@@ -60,7 +60,7 @@ int Element_DRAY::update(UPDATE_FUNC_ARGS)
copySpaces = parts[i].tmp2 = 0;
if (copyLength < 0)
copyLength = parts[i].tmp = 0;
else
else if (copyLength > 0)
copySpaces++; //strange hack
if (!parts[i].life) // only fire when life is 0, but nothing sets the life right now
{

0 comments on commit c9d5841

Please sign in to comment.