Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
0f75b20e
Commit
0f75b20e
authored
Mar 30, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c4208efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
field.cpp
field.cpp
+2
-2
No files found.
field.cpp
View file @
0f75b20e
...
@@ -554,10 +554,10 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer
...
@@ -554,10 +554,10 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer
int32
maxcount
=
6
;
int32
maxcount
=
6
;
if
(
player
[
playerid
].
list_mzone
[
5
]
&&
is_location_useable
(
playerid
,
LOCATION_MZONE
,
6
)
if
(
player
[
playerid
].
list_mzone
[
5
]
&&
is_location_useable
(
playerid
,
LOCATION_MZONE
,
6
)
&&
(
zone
&
(
1u
<<
6
))
&&
check_extra_link
(
playerid
,
pcard
,
6
))
{
&&
(
zone
&
(
1u
<<
6
))
&&
check_extra_link
(
playerid
,
pcard
,
6
))
{
flag
|=
1u
<<
6
;
flag
|=
1u
<<
5
;
}
else
if
(
player
[
playerid
].
list_mzone
[
6
]
&&
is_location_useable
(
playerid
,
LOCATION_MZONE
,
5
)
}
else
if
(
player
[
playerid
].
list_mzone
[
6
]
&&
is_location_useable
(
playerid
,
LOCATION_MZONE
,
5
)
&&
(
zone
&
(
1u
<<
5
))
&&
check_extra_link
(
playerid
,
pcard
,
5
))
{
&&
(
zone
&
(
1u
<<
5
))
&&
check_extra_link
(
playerid
,
pcard
,
5
))
{
flag
|=
1u
<<
5
;
flag
|=
1u
<<
6
;
}
else
if
(
player
[
playerid
].
list_mzone
[
5
]
||
player
[
playerid
].
list_mzone
[
6
]
||
!
(
zone
&
((
1u
<<
5
)
|
(
1u
<<
6
))))
{
}
else
if
(
player
[
playerid
].
list_mzone
[
5
]
||
player
[
playerid
].
list_mzone
[
6
]
||
!
(
zone
&
((
1u
<<
5
)
|
(
1u
<<
6
))))
{
flag
|=
(
1u
<<
5
)
|
(
1u
<<
6
);
flag
|=
(
1u
<<
5
)
|
(
1u
<<
6
);
maxcount
=
5
;
maxcount
=
5
;
...
...
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