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
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
Commits
d1476e3d
Commit
d1476e3d
authored
May 06, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/patch-chat-reverse' into develop
parents
042a4a61
5b121266
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
gframe/game.cpp
gframe/game.cpp
+2
-4
script
script
+1
-1
No files found.
gframe/game.cpp
View file @
d1476e3d
...
...
@@ -1779,10 +1779,8 @@ int Game::LocalPlayer(int player) const {
return
dInfo
.
isFirst
?
pid
:
1
-
pid
;
}
int
Game
::
OppositePlayer
(
int
player
)
{
if(dInfo.isTag)
return (player & 0x2) | (1 - (player & 0x1));
else
return 1 - player;
auto
player_side_bit
=
dInfo
.
isTag
?
0x2
:
0x1
;
return
player
^
player_side_bit
;
}
int
Game
::
ChatLocalPlayer
(
int
player
)
{
if
(
player
>
3
)
...
...
script
@
59e5af14
Subproject commit
d269fab3d63c69474ab58813258e593b5f434d0f
Subproject commit
59e5af144e6e35f842b1abb62bede801d5f5f005
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