Skip to content

Commit

Permalink
Fixed warning on unintialized double in PMTweenPhysicsSystem.
Browse files Browse the repository at this point in the history
  • Loading branch information
poetmountain committed May 6, 2014
1 parent 4ad9976 commit 7fa4a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PMTweenPhysicsSystem.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ - (id)initWithVelocity:(double)velocity friction:(double)friction {

- (double)solveForPosition:(double)position currentTime:(NSTimeInterval)elapsedTime {

double new_position;
double new_position = 0.0;

if (!_paused) {
if (_lastTimestamp == 0) { self.lastTimestamp = elapsedTime; }
Expand Down

0 comments on commit 7fa4a04

Please sign in to comment.