v0.2.4c: added null check to sprite linking
This commit is contained in:
parent
22d072f3e7
commit
b8412b6765
|
@ -99,8 +99,9 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||
|
||||
place( ch.pos );
|
||||
turnTo( ch.pos, Random.Int( Level.LENGTH ) );
|
||||
|
||||
ch.updateSpriteState();
|
||||
|
||||
if (parent != null)
|
||||
ch.updateSpriteState();
|
||||
}
|
||||
|
||||
public PointF worldToCamera( int cell ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user