Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
292f9c30
Commit
292f9c30
authored
Jul 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update forced new turn
parent
3dd6f420
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+1
-1
script
script
+1
-1
No files found.
gframe/single_duel.cpp
View file @
292f9c30
...
@@ -1098,7 +1098,7 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
...
@@ -1098,7 +1098,7 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
RefreshHand
(
0
);
RefreshHand
(
0
);
RefreshHand
(
1
);
RefreshHand
(
1
);
#ifdef YGOPRO_SERVER_MODE
#ifdef YGOPRO_SERVER_MODE
turn_player
=
BufferIO
::
ReadInt8
(
pbuf
);
turn_player
=
BufferIO
::
ReadInt8
(
pbuf
)
&
0x1
;
#else
#else
pbuf
++
;
pbuf
++
;
#endif
#endif
...
...
gframe/tag_duel.cpp
View file @
292f9c30
...
@@ -1048,7 +1048,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
...
@@ -1048,7 +1048,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
case
MSG_NEW_TURN
:
{
case
MSG_NEW_TURN
:
{
int
r_player
=
BufferIO
::
ReadInt8
(
pbuf
);
int
r_player
=
BufferIO
::
ReadInt8
(
pbuf
);
#ifdef YGOPRO_SERVER_MODE
#ifdef YGOPRO_SERVER_MODE
turn_player
=
r_player
;
turn_player
=
r_player
&
0x1
;
#endif
#endif
time_limit
[
0
]
=
host_info
.
time_limit
;
time_limit
[
0
]
=
host_info
.
time_limit
;
time_limit
[
1
]
=
host_info
.
time_limit
;
time_limit
[
1
]
=
host_info
.
time_limit
;
...
...
script
@
d7084301
Subproject commit
bb21491c98b10887636e00c8bbeb6c821fd0708a
Subproject commit
d7084301fb70342da470d6f828912bdd454164a2
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