Agree. I have done the changes and re-submitted a PR.

--
Pedro Monteiro Kayatt ( +55 11 968285744)
Co-founder of Naked Monkey (http://nakedmonkeygames.net)
skype: pekayatt
MSN: pekayatt@hotmail.com

>Bachelor in Computer Engineer by Escola Politécnica da USP
>Master of Science in Computer Engineer by Politecnico di Milano


On Thu, Jun 20, 2013 at 12:15 AM, minggo <notifications@github.com> wrote:

> In cocos2dx/actions/CCActionInterval.h:
>
> > @@ -822,6 +822,8 @@ class CC_DLL CCAnimate : public CCActionInterval
> >
> >      /** initializes the action with an Animation and will restore the original frame when the animation is over */
> >      bool initWithAnimation(CCAnimation *pAnimation);
> > +	
> > +	int getNextFrame();
>
> I think it is better to declare like
>
> int getNextFrame() const;
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cocos2d/cocos2d-x/pull/2932/files#r4789132>
> .
>