Unit bugfixes

This commit is contained in:
Anuken 2020-09-03 16:02:14 -04:00
parent 90247e3b27
commit 07305aecf4
2 changed files with 7 additions and 0 deletions

View File

@ -147,6 +147,12 @@ public class EntityIO{
io(field.type, "");
//just assign the two values so jumping does not occur on de-possession
if(sf){
st(field.name + lastSuf + " = this." + field.name);
st(field.name + targetSuf + " = this." + field.name);
}
econt();
}
}

View File

@ -89,6 +89,7 @@ public class Effect{
public void render(int id, Color color, float life, float rotation, float x, float y, Object data){
container.set(id, color, life, lifetime, rotation, x, y, data);
Draw.z(ground ? Layer.debris : Layer.effect);
Draw.reset();
renderer.get(container);
Draw.reset();
}