fix for issue #1116 (NPE in TerrainGridAlphaMapTest)
This commit is contained in:
parent
1687d34eb7
commit
5586c28c95
@ -294,7 +294,9 @@ public class TerrainGridAlphaMapTest extends SimpleApplication {
|
|||||||
TerrainGridAlphaMapTest.this.down = false;
|
TerrainGridAlphaMapTest.this.down = false;
|
||||||
}
|
}
|
||||||
} else if (name.equals("Jumps")) {
|
} else if (name.equals("Jumps")) {
|
||||||
TerrainGridAlphaMapTest.this.player3.jump();
|
if (usePhysics && keyPressed) {
|
||||||
|
player3.jump();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user