From 38d4794c8a15961450c1c79b3bb331f26bece499 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Thu, 22 Jun 2023 13:37:27 +0200 Subject: [PATCH] fix ambiguous ccpoint ctor --- src/hooks/CommentCell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/CommentCell.cpp b/src/hooks/CommentCell.cpp index d51034d..cf2b707 100644 --- a/src/hooks/CommentCell.cpp +++ b/src/hooks/CommentCell.cpp @@ -104,8 +104,8 @@ class $modify(BICommentCell, CommentCell) { menu_selector(BICommentCell::onLevelInfoNoLoad) ); menu->addChild(commentsButton); - CCPoint smallPosition({206 - (winSize.width / 2), 24.5f - (winSize.height / 2) }); - CCPoint largePosition({154 - (winSize.width / 2), 60 - (winSize.height / 2) }); + CCPoint smallPosition(206 - (winSize.width / 2), 24.5f - (winSize.height / 2)); + CCPoint largePosition(154 - (winSize.width / 2), 60 - (winSize.height / 2)); commentsButton->setPosition(smallCommentsMode ? smallPosition : largePosition); commentsButton->setSizeMult(1.2f); commentsButton->setID("bi-comments-button");