Don't make Action be inherited from Clonable. Why?? Please refer to https://groups.google.com/forum/?hl=en#!topic/cocos2d-js-devel/dGJYz9wIb4Q , but we need to find out the real reason why VS compiler generate linking errors.

This commit is contained in:
James Chen 2013-06-21 11:19:17 +08:00
parent 9a7bb8fa84
commit b74db627af
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ enum {
/**
@brief Base class for Action objects.
*/
class CC_DLL Action : public Clonable, public Object
class CC_DLL Action : public Object//, public Clonable // XXX: Why not to make it be inherited from Clonable, please refer to https://groups.google.com/forum/?hl=en#!topic/cocos2d-js-devel/dGJYz9wIb4Q , but we need to find out the real reason why VS compiler generate linking errors.
{
public:
Action(void);