From 73f2c5297c918c5ac3eb5db3b2f4438bdc33bc55 Mon Sep 17 00:00:00 2001 From: walzer Date: Thu, 14 Apr 2011 16:15:12 +0800 Subject: [PATCH] #define ccp CCPointMake(...) to cocos2d::CCPointMake(...). Thanks Marat Yakupov's fix. http://www.cocos2d-x.org/boards/6/topics/1200 --- cocos2dx/include/CCPointExtension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/include/CCPointExtension.h b/cocos2dx/include/CCPointExtension.h index f405d401a8..73732e2449 100644 --- a/cocos2dx/include/CCPointExtension.h +++ b/cocos2dx/include/CCPointExtension.h @@ -52,7 +52,7 @@ namespace cocos2d { @return CCPoint @since v0.7.2 */ -#define ccp(__X__,__Y__) CCPointMake((float)__X__, (float)__Y__) +#define ccp(__X__,__Y__) cocos2d::CCPointMake((float)__X__, (float)__Y__) /** Returns opposite of point. @return CCPoint