v0.7.5: fixed an error where blob volume was not being correctly cleared

This commit is contained in:
Evan Debenham 2019-09-28 23:32:25 -04:00
parent 02a8a7e206
commit c1e8240c0b

View File

@ -119,7 +119,11 @@ public class Blob extends Actor {
cur = tmp;
} else {
area.setEmpty();
if (!area.isEmpty()) {
area.setEmpty();
//clear any values remaining in off
System.arraycopy(cur, 0, off, 0, cur.length);
}
}
return true;