Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
fec64124
Commit
fec64124
authored
Jul 05, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aec37fd4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ocgcore/field.cpp
ocgcore/field.cpp
+1
-1
ocgcore/operations.cpp
ocgcore/operations.cpp
+2
-0
No files found.
ocgcore/field.cpp
View file @
fec64124
...
...
@@ -1391,7 +1391,7 @@ void field::adjust_disable_check_list() {
}
while
(
effects
.
disable_check_list
.
size
());
}
void
field
::
adjust_self_destroy_set
()
{
if
(
core
.
selfdes_disabled
)
if
(
core
.
selfdes_disabled
||
!
core
.
self_destroy_set
.
empty
()
||
!
core
.
self_tograve_set
.
empty
()
)
return
;
card_set
cset
;
for
(
uint8
p
=
0
;
p
<
2
;
++
p
)
{
...
...
ocgcore/operations.cpp
View file @
fec64124
...
...
@@ -1038,6 +1038,7 @@ int32 field::self_destroy(uint16 step) {
return
FALSE
;
}
case
1
:
{
core
.
self_destroy_set
.
clear
();
if
(
!
(
core
.
global_flag
&
GLOBALFLAG_SELF_TOGRAVE
))
return
TRUE
;
core
.
units
.
begin
()
->
arg1
=
returns
.
ivalue
[
0
];
...
...
@@ -1048,6 +1049,7 @@ int32 field::self_destroy(uint16 step) {
return
FALSE
;
}
case
2
:
{
core
.
self_tograve_set
.
clear
();
returns
.
ivalue
[
0
]
+=
core
.
units
.
begin
()
->
arg1
;
return
TRUE
;
}
...
...
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