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
wind2009
ygopro
Commits
5b121266
Commit
5b121266
authored
May 06, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c4a1335c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
gframe/game.cpp
gframe/game.cpp
+2
-4
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/game.cpp
View file @
5b121266
...
...
@@ -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)
...
...
ocgcore
@
9823d82d
Subproject commit
02254c8ce092e671d49a75e9d84554da83711e27
Subproject commit
9823d82dda9b4e601a8a870e180ad3768179e2ec
script
@
59e5af14
Subproject commit
a36b4d2096131605246d3c37f52aeab07175304b
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