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
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-core
Commits
da5076b3
Commit
da5076b3
authored
Sep 03, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b508337a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libduel.cpp
libduel.cpp
+3
-3
No files found.
libduel.cpp
View file @
da5076b3
...
@@ -1360,15 +1360,15 @@ int32 scriptlib::duel_shuffle_setcard(lua_State *L) {
...
@@ -1360,15 +1360,15 @@ int32 scriptlib::duel_shuffle_setcard(lua_State *L) {
if
(
pgroup
->
container
.
size
()
<=
1
)
if
(
pgroup
->
container
.
size
()
<=
1
)
return
0
;
return
0
;
duel
*
pduel
=
pgroup
->
pduel
;
duel
*
pduel
=
pgroup
->
pduel
;
card
*
ms
[
7
];
card
*
ms
[
5
];
uint8
seq
[
7
];
uint8
seq
[
5
];
uint8
tp
=
2
;
uint8
tp
=
2
;
uint8
loc
=
0
;
uint8
loc
=
0
;
uint8
ct
=
0
;
uint8
ct
=
0
;
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
card
*
pcard
=
*
cit
;
card
*
pcard
=
*
cit
;
if
((
loc
!=
0
&&
(
pcard
->
current
.
location
!=
loc
))
||
(
pcard
->
current
.
location
!=
LOCATION_MZONE
&&
pcard
->
current
.
location
!=
LOCATION_SZONE
)
if
((
loc
!=
0
&&
(
pcard
->
current
.
location
!=
loc
))
||
(
pcard
->
current
.
location
!=
LOCATION_MZONE
&&
pcard
->
current
.
location
!=
LOCATION_SZONE
)
||
(
pcard
->
current
.
position
&
POS_FACEUP
)
||
(
pcard
->
current
.
location
==
LOCATION_SZONE
&&
pcard
->
current
.
sequence
>
4
)
||
(
tp
!=
2
&&
(
pcard
->
current
.
controler
!=
tp
)))
||
(
pcard
->
current
.
position
&
POS_FACEUP
)
||
(
pcard
->
current
.
sequence
>
4
)
||
(
tp
!=
2
&&
(
pcard
->
current
.
controler
!=
tp
)))
return
0
;
return
0
;
tp
=
pcard
->
current
.
controler
;
tp
=
pcard
->
current
.
controler
;
loc
=
pcard
->
current
.
location
;
loc
=
pcard
->
current
.
location
;
...
...
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