Skip to content

Commit

Permalink
fix DRAY with .tmp = 0 (broken in a115e78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 23, 2015
1 parent 9fef463 commit c9d5841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/DRAY.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit c9d5841

Please sign in to comment.