summaryrefslogtreecommitdiffstats
path: root/demos/sub-attaq/submarine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sub-attaq/submarine_p.h')
-rw-r--r--demos/sub-attaq/submarine_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/sub-attaq/submarine_p.h b/demos/sub-attaq/submarine_p.h
index fa7430b..64a0cf7 100644
--- a/demos/sub-attaq/submarine_p.h
+++ b/demos/sub-attaq/submarine_p.h
@@ -94,7 +94,6 @@ protected:
movementAnimation->setEndValue(QPointF(submarine->scene()->width()-submarine->size().width(),submarine->y()));
movementAnimation->setDuration((submarine->scene()->width()-submarine->size().width()-submarine->x())/submarine->currentSpeed()*12);
}
- movementAnimation->setStartValue(submarine->pos());
QAnimationState::onEntry(e);
}