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
9635d783
Commit
9635d783
authored
Jul 17, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ea2176ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libduel.cpp
libduel.cpp
+2
-2
No files found.
libduel.cpp
View file @
9635d783
...
@@ -143,7 +143,7 @@ int32 scriptlib::duel_get_cards_in_zone(lua_State *L) {
...
@@ -143,7 +143,7 @@ int32 scriptlib::duel_get_cards_in_zone(lua_State *L) {
return
0
;
return
0
;
uint32
zone
=
lua_tointeger
(
L
,
2
);
uint32
zone
=
lua_tointeger
(
L
,
2
);
duel
*
pduel
=
interpreter
::
get_duel_info
(
L
);
duel
*
pduel
=
interpreter
::
get_duel_info
(
L
);
field
::
card_set
cset
;
card_set
cset
;
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
,
rplayer
,
LOCATION_MZONE
);
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
,
rplayer
,
LOCATION_MZONE
);
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
>>
8
,
rplayer
,
LOCATION_SZONE
);
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
>>
8
,
rplayer
,
LOCATION_SZONE
);
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
>>
16
,
1
-
rplayer
,
LOCATION_MZONE
);
pduel
->
game_field
->
get_cards_in_zone
(
&
cset
,
zone
>>
16
,
1
-
rplayer
,
LOCATION_MZONE
);
...
@@ -1229,7 +1229,7 @@ int32 scriptlib::duel_confirm_decktop(lua_State *L) {
...
@@ -1229,7 +1229,7 @@ int32 scriptlib::duel_confirm_decktop(lua_State *L) {
pduel
->
write_buffer8
(
MSG_CONFIRM_DECKTOP
);
pduel
->
write_buffer8
(
MSG_CONFIRM_DECKTOP
);
pduel
->
write_buffer8
(
playerid
);
pduel
->
write_buffer8
(
playerid
);
pduel
->
write_buffer8
(
count
);
pduel
->
write_buffer8
(
count
);
field
::
card_set
ccards
;
card_set
ccards
;
uint32
reason
=
0
;
uint32
reason
=
0
;
if
(
lua_gettop
(
L
)
>=
3
)
if
(
lua_gettop
(
L
)
>=
3
)
reason
=
lua_tointeger
(
L
,
3
);
reason
=
lua_tointeger
(
L
,
3
);
...
...
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