Skip to content

Commit

Permalink
add scope operator
Browse files Browse the repository at this point in the history
  • Loading branch information
salix5 committed Apr 17, 2024
1 parent 04e359d commit c8488a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions card.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ void card::remove_effect(effect* peffect, effect_container::iterator it) {
}
int32 card::copy_effect(uint32 code, uint32 reset, uint32 count) {
card_data cdata;
read_card(code, &cdata);
::read_card(code, &cdata);
if(cdata.type & TYPE_NORMAL)
return -1;
set_status(STATUS_COPYING_EFFECT, TRUE);
Expand Down Expand Up @@ -2032,7 +2032,7 @@ int32 card::copy_effect(uint32 code, uint32 reset, uint32 count) {
}
int32 card::replace_effect(uint32 code, uint32 reset, uint32 count) {
card_data cdata;
read_card(code, &cdata);
::read_card(code, &cdata);
if(cdata.type & TYPE_NORMAL)
return -1;
if(is_status(STATUS_EFFECT_REPLACED))
Expand Down
2 changes: 1 addition & 1 deletion playerop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ int32 field::announce_card(int16 step, uint8 playerid) {
} else {
int32 code = returns.ivalue[0];
card_data data;
read_card(code, &data);
::read_card(code, &data);
if(!data.code) {
pduel->write_buffer8(MSG_RETRY);
return FALSE;
Expand Down

0 comments on commit c8488a5

Please sign in to comment.