Permalink
Browse files

fix VIBR asymmetric heat releasing, fixes #424

  • Loading branch information...
jacob1 committed Jun 12, 2017
1 parent 510c33a commit 32d834c3516ddf90efe1818dc03fd7cdad5a17e7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/simulation/elements/VIBR.cpp
@@ -97,8 +97,8 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) {
//Release all heat
if (parts[i].life < 500)
{
rx = rndstore%7-1;
ry = (rndstore>>3)%7-1;
rx = rndstore%7-3;
ry = (rndstore>>3)%7-3;
if(BOUNDS_CHECK)
{
r = pmap[y+ry][x+rx];

0 comments on commit 32d834c

Please sign in to comment.