diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/effects/Pushing.java b/src/com/shatteredpixel/shatteredpixeldungeon/effects/Pushing.java index b62831ba4..d7af54823 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/effects/Pushing.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/effects/Pushing.java @@ -72,8 +72,9 @@ public class Pushing extends Actor { acc.set( -speed.x / DELAY, -speed.y / DELAY ); delay = 0; - - sprite.parent.add( this ); + + if (sprite.parent != null) + sprite.parent.add( this ); } @Override