Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
7ed46c0a
Commit
7ed46c0a
authored
Dec 31, 2021
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync ocgcore
parent
9e0bf940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Classes/ocgcore/common.h
Classes/ocgcore/common.h
+1
-1
Classes/ocgcore/field.cpp
Classes/ocgcore/field.cpp
+1
-0
No files found.
Classes/ocgcore/common.h
View file @
7ed46c0a
...
@@ -187,7 +187,7 @@ struct card_sort {
...
@@ -187,7 +187,7 @@ struct card_sort {
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_INITIALIZING 0x400000
#define STATUS_INITIALIZING 0x400000
//#define STATUS_ACTIVATED
0x800000
#define STATUS_TO_HAND_WITHOUT_CONFIRM
0x800000
#define STATUS_JUST_POS 0x1000000
#define STATUS_JUST_POS 0x1000000
#define STATUS_CONTINUOUS_POS 0x2000000
#define STATUS_CONTINUOUS_POS 0x2000000
#define STATUS_FORBIDDEN 0x4000000
#define STATUS_FORBIDDEN 0x4000000
...
...
Classes/ocgcore/field.cpp
View file @
7ed46c0a
...
@@ -221,6 +221,7 @@ void field::remove_card(card* pcard) {
...
@@ -221,6 +221,7 @@ void field::remove_card(card* pcard) {
core
.
shuffle_deck_check
[
playerid
]
=
TRUE
;
core
.
shuffle_deck_check
[
playerid
]
=
TRUE
;
break
;
break
;
case
LOCATION_HAND
:
case
LOCATION_HAND
:
pcard
->
set_status
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
FALSE
);
player
[
playerid
].
list_hand
.
erase
(
player
[
playerid
].
list_hand
.
begin
()
+
pcard
->
current
.
sequence
);
player
[
playerid
].
list_hand
.
erase
(
player
[
playerid
].
list_hand
.
begin
()
+
pcard
->
current
.
sequence
);
reset_sequence
(
playerid
,
LOCATION_HAND
);
reset_sequence
(
playerid
,
LOCATION_HAND
);
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment