From 7bd1bf58b9f9999fed1052cfd250113f500a2519 Mon Sep 17 00:00:00 2001 From: salix5 Date: Sun, 24 Nov 2024 18:09:54 +0800 Subject: [PATCH 1/2] fix get_link_marker --- card.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card.h b/card.h index 1b52ec92b..6a6b3c2ac 100644 --- a/card.h +++ b/card.h @@ -262,7 +262,7 @@ class card { uint32 get_grave_race(uint8 playerid); uint32 get_lscale(); uint32 get_rscale(); - uint32 get_link_marker() const; + uint32 get_link_marker(); uint32 is_link_marker(uint32 dir) const; uint32 get_linked_zone() const; void get_linked_cards(card_set* cset); From f510c02dda51a03d94ba6cab36a7ca66c363e01d Mon Sep 17 00:00:00 2001 From: salix5 Date: Sun, 24 Nov 2024 18:11:19 +0800 Subject: [PATCH 2/2] fix get_link_marker --- card.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card.cpp b/card.cpp index c5ffb8b81..5f93777ef 100644 --- a/card.cpp +++ b/card.cpp @@ -1276,7 +1276,7 @@ uint32 card::get_rscale() { temp.rscale = UINT32_MAX; return rscale; } -uint32 card::get_link_marker() const { +uint32 card::get_link_marker() { if(!(data.type & TYPE_LINK)) return 0; return data.link_marker;