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
076284d3
Commit
076284d3
authored
Apr 15, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
90baf203
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
playerop.cpp
playerop.cpp
+3
-3
No files found.
playerop.cpp
View file @
076284d3
...
...
@@ -605,7 +605,7 @@ int32 field::select_counter(uint16 step, uint8 playerid, uint16 countertype, uin
}
return
TRUE
;
}
static
void
get_sum_params
(
int32
sum_param
,
int32
&
op1
,
int32
&
op2
)
{
static
void
get_sum_params
(
u
int32
sum_param
,
int32
&
op1
,
int32
&
op2
)
{
op1
=
sum_param
&
0xffff
;
op2
=
(
sum_param
>>
16
)
&
0xffff
;
if
(
op2
&
0x8000
)
{
...
...
@@ -613,7 +613,7 @@ static void get_sum_params(int32 sum_param, int32& op1, int32& op2) {
op2
=
0
;
}
}
static
int32
select_sum_check1
(
const
int32
*
oparam
,
int32
size
,
int32
index
,
int32
acc
,
int32
opmin
)
{
static
int32
select_sum_check1
(
const
u
int32
*
oparam
,
int32
size
,
int32
index
,
int32
acc
,
int32
opmin
)
{
if
(
acc
==
0
||
index
==
size
)
return
FALSE
;
int32
o1
,
o2
;
...
...
@@ -660,7 +660,7 @@ int32 field::select_with_sum_limit(int16 step, uint8 playerid, int32 acc, int32
}
else
{
std
::
set
<
int32
>
c
;
if
(
max
)
{
int32
oparam
[
16
];
u
int32
oparam
[
16
];
int32
mcount
=
(
int32
)
core
.
must_select_cards
.
size
();
if
(
returns
.
bvalue
[
0
]
<
min
+
mcount
||
returns
.
bvalue
[
0
]
>
max
+
mcount
)
{
pduel
->
write_buffer8
(
MSG_RETRY
);
...
...
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