This commit is contained in:
Ziver Koc 2009-05-19 17:26:58 +00:00
parent f210865cd4
commit 7e2c3dcf1e
4 changed files with 8 additions and 5 deletions

View file

@ -73,7 +73,7 @@ public abstract class Entity {
* @param l The location of the entity
*/
public void setLocation(Vector2f l) {
location = new Vector3f(l.getX(),l.getY(),getLocation().getZ());
location = new Vector3f(l.getX(),l.getY(), location.getZ());
}
/**