From 0c420769033be35dc0c3019c0a92b49d203f957e Mon Sep 17 00:00:00 2001 From: Justin <52604018+hiimjustin000@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:30:58 -0400 Subject: [PATCH] CCLightning custom constructor (#1093) --- loader/include/Geode/cocos/robtop/special_nodes/CCLightning.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loader/include/Geode/cocos/robtop/special_nodes/CCLightning.h b/loader/include/Geode/cocos/robtop/special_nodes/CCLightning.h index ce7972e6..78e204ad 100644 --- a/loader/include/Geode/cocos/robtop/special_nodes/CCLightning.h +++ b/loader/include/Geode/cocos/robtop/special_nodes/CCLightning.h @@ -11,6 +11,7 @@ class CCLightning : public CCNode, public CCRGBAProtocol { public: CCLightning(); virtual ~CCLightning(); + GEODE_CUSTOM_CONSTRUCTOR_GD(CCLightning, CCNode); static CCLightning* lightningWithStrikePoint(CCPoint strikePoint, CCPoint strikePoint2, float duration); static CCLightning* lightningWithStrikePoint(CCPoint strikePoint); @@ -67,4 +68,4 @@ protected: NS_CC_END -#endif //__CCLIGHTNING_H__ \ No newline at end of file +#endif //__CCLIGHTNING_H__