Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
Commits
2891ed57
Commit
2891ed57
authored
Dec 24, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix MSG_SELECT_SUM
bad range check
parent
bc7d3a9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/client_field.cpp
gframe/client_field.cpp
+1
-1
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/client_field.cpp
View file @
2891ed57
...
...
@@ -1214,7 +1214,7 @@ bool ClientField::check_sel_sum_s(const std::set<ClientCard*>& left, int index,
return
res1
||
res2
;
}
void
ClientField
::
check_sel_sum_t
(
const
std
::
set
<
ClientCard
*>&
left
,
int
acc
)
{
int
count
=
selected_cards
.
size
()
+
1
;
int
count
=
selected_cards
.
size
()
+
1
-
must_select_count
;
for
(
auto
sit
=
left
.
begin
();
sit
!=
left
.
end
();
++
sit
)
{
if
(
selectsum_cards
.
find
(
*
sit
)
!=
selectsum_cards
.
end
())
continue
;
...
...
ocgcore
@
130de2f6
Subproject commit
76442092e35ac6cbb3487aee4a6183312a2f36ab
Subproject commit
130de2f618693c34a7ebffeb9c5011c699a789c5
script
@
bb5f1dd1
Subproject commit
45397d1c05a9283517ef0736c16f36c8882fe5d
2
Subproject commit
bb5f1dd13d95f3f666bc4f4e3b4e95557ecb261
2
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