Unit bugfixes
This commit is contained in:
@@ -147,6 +147,12 @@ public class EntityIO{
|
|||||||
|
|
||||||
io(field.type, "");
|
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();
|
econt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ public class Effect{
|
|||||||
public void render(int id, Color color, float life, float rotation, float x, float y, Object data){
|
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);
|
container.set(id, color, life, lifetime, rotation, x, y, data);
|
||||||
Draw.z(ground ? Layer.debris : Layer.effect);
|
Draw.z(ground ? Layer.debris : Layer.effect);
|
||||||
|
Draw.reset();
|
||||||
renderer.get(container);
|
renderer.get(container);
|
||||||
Draw.reset();
|
Draw.reset();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user