fix VIBR asymmetric heat releasing, fixes #424

This commit is contained in:
jacob1 2017-06-11 22:47:05 -04:00
parent 510c33a986
commit 32d834c351

View File

@ -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];