* Fix crash in TestWalkingChar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
3c4405868a
commit
6cddcf8f1d
@ -199,7 +199,7 @@ public class TestWalkingChar extends SimpleApplication implements ActionListener
|
|||||||
bulletCollisionShape = new SphereCollisionShape(0.4f);
|
bulletCollisionShape = new SphereCollisionShape(0.4f);
|
||||||
matBullet = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
|
matBullet = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
|
||||||
matBullet.setColor("Color", ColorRGBA.Green);
|
matBullet.setColor("Color", ColorRGBA.Green);
|
||||||
matBullet.setColor("m_GlowColor", ColorRGBA.Green);
|
matBullet.setColor("GlowColor", ColorRGBA.Green);
|
||||||
getPhysicsSpace().addCollisionListener(this);
|
getPhysicsSpace().addCollisionListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user