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
cf3cc2b0
Commit
cf3cc2b0
authored
Jul 19, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'server_mc' into server
parents
8028b7d5
55c41bfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
gframe/gframe.cpp
gframe/gframe.cpp
+8
-1
No files found.
gframe/gframe.cpp
View file @
cf3cc2b0
...
@@ -93,8 +93,15 @@ int main(int argc, char* argv[]) {
...
@@ -93,8 +93,15 @@ int main(int argc, char* argv[]) {
ygo
::
game_info
.
mode
=
mode
;
ygo
::
game_info
.
mode
=
mode
;
if
(
argv
[
5
][
0
]
==
'T'
)
if
(
argv
[
5
][
0
]
==
'T'
)
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
-
1
;
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
-
1
;
else
else
if
(
argv
[
5
][
0
]
==
'F'
)
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
else
{
int
master_rule
=
atoi
(
argv
[
5
]);
if
(
master_rule
)
ygo
::
game_info
.
duel_rule
=
master_rule
;
else
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
}
if
(
argv
[
6
][
0
]
==
'T'
)
if
(
argv
[
6
][
0
]
==
'T'
)
ygo
::
game_info
.
no_check_deck
=
true
;
ygo
::
game_info
.
no_check_deck
=
true
;
else
else
...
...
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