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
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
YGOPRO-520DIY
ygopro
Commits
e27b107f
Commit
e27b107f
authored
Feb 13, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
af5783ca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ocgcore/card.cpp
ocgcore/card.cpp
+3
-3
ocgcore/libduel.cpp
ocgcore/libduel.cpp
+4
-1
No files found.
ocgcore/card.cpp
View file @
e27b107f
...
@@ -248,10 +248,10 @@ int32 card::is_set_card(uint32 set_code) {
...
@@ -248,10 +248,10 @@ int32 card::is_set_card(uint32 set_code) {
}
}
uint32
settype
=
set_code
&
0xfff
;
uint32
settype
=
set_code
&
0xfff
;
uint32
setsubtype
=
set_code
&
0xf000
;
uint32
setsubtype
=
set_code
&
0xf000
;
while
(
setcode
){
while
(
setcode
)
{
if
((
setcode
&
0xfff
)
==
settype
&&
(
setcode
&
0xf000
&
setsubtype
)
==
setsubtype
)
if
((
setcode
&
0xfff
)
==
settype
&&
(
setcode
&
0xf000
&
setsubtype
)
==
setsubtype
)
return
TRUE
;
return
TRUE
;
setcode
=
setcode
>>
16
setcode
=
setcode
>>
16
;
}
}
return
FALSE
;
return
FALSE
;
}
}
...
...
ocgcore/libduel.cpp
View file @
e27b107f
...
@@ -1010,7 +1010,10 @@ int32 scriptlib::duel_discard_hand(lua_State *L) {
...
@@ -1010,7 +1010,10 @@ int32 scriptlib::duel_discard_hand(lua_State *L) {
}
}
int32
scriptlib
::
duel_disable_shuffle_check
(
lua_State
*
L
)
{
int32
scriptlib
::
duel_disable_shuffle_check
(
lua_State
*
L
)
{
duel
*
pduel
=
interpreter
::
get_duel_info
(
L
);
duel
*
pduel
=
interpreter
::
get_duel_info
(
L
);
pduel
->
game_field
->
core
.
shuffle_check_disabled
=
TRUE
;
uint8
disable
=
TRUE
;
if
(
lua_gettop
(
L
)
>
0
)
disable
=
lua_toboolean
(
L
,
1
);
pduel
->
game_field
->
core
.
shuffle_check_disabled
=
disable
;
return
0
;
return
0
;
}
}
int32
scriptlib
::
duel_shuffle_deck
(
lua_State
*
L
)
{
int32
scriptlib
::
duel_shuffle_deck
(
lua_State
*
L
)
{
...
...
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