Skip to content

Commit

Permalink
Fixing issue 1304
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakthi committed Jan 19, 2012
1 parent 3c96458 commit 2a13ddc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CocosDenshion/CocosDenshionExtras/CDXPropertyModifierAction.m
Expand Up @@ -40,11 +40,19 @@ -(id) initWithDuration:(ccTime)t modifier:(CDPropertyModifier*) aModifier;
}
modifier = aModifier;
[modifier retain];
lastSetValue = [modifier _getTargetProperty];
//lastSetValue = [modifier _getTargetProperty];//Issue 1304
}
return self;
}



-(void) startWithTarget:(id)aTarget
{
[super startWithTarget:aTarget];
lastSetValue = [modifier _getTargetProperty];
}

-(void) dealloc {
CDLOG(@"Denshon::CDXPropertyModifierAction deallocated %@",self);
[modifier release];
Expand Down

0 comments on commit 2a13ddc

Please sign in to comment.