v0.7.5: fixed an error where blob volume was not being correctly cleared
This commit is contained in:
parent
02a8a7e206
commit
c1e8240c0b
|
@ -119,7 +119,11 @@ public class Blob extends Actor {
|
||||||
cur = tmp;
|
cur = tmp;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
area.setEmpty();
|
if (!area.isEmpty()) {
|
||||||
|
area.setEmpty();
|
||||||
|
//clear any values remaining in off
|
||||||
|
System.arraycopy(cur, 0, off, 0, cur.length);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user