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
9df30048
Commit
9df30048
authored
Feb 14, 2024
by
Uytrewq
Committed by
GitHub
Feb 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Duel.AnnounceNumber (#561)
parent
8b30b786
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
playerop.cpp
playerop.cpp
+2
-0
No files found.
playerop.cpp
View file @
9df30048
...
...
@@ -1005,6 +1005,8 @@ int32 field::announce_card(int16 step, uint8 playerid) {
}
int32
field
::
announce_number
(
int16
step
,
uint8
playerid
)
{
if
(
step
==
0
)
{
if
(
core
.
select_options
.
size
()
>
UINT8_MAX
)
core
.
select_options
.
resize
(
UINT8_MAX
);
pduel
->
write_buffer8
(
MSG_ANNOUNCE_NUMBER
);
pduel
->
write_buffer8
(
playerid
);
pduel
->
write_buffer8
((
uint8
)
core
.
select_options
.
size
());
...
...
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