Permalink
Browse files

Fixing issue 1304

  • Loading branch information...
1 parent 3c96458 commit 2a13ddc23422d710c406e38dd1e9ec3f73cf3f79 @Shakthi Shakthi committed Jan 19, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 CocosDenshion/CocosDenshionExtras/CDXPropertyModifierAction.m
@@ -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];

0 comments on commit 2a13ddc

Please sign in to comment.