Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
2fc6f7fd
Commit
2fc6f7fd
authored
Apr 16, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
8f1b072c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/deck_manager.cpp
gframe/deck_manager.cpp
+1
-1
gframe/game.h
gframe/game.h
+2
-2
No files found.
gframe/deck_manager.cpp
View file @
2fc6f7fd
...
@@ -89,7 +89,7 @@ int DeckManager::CheckDeck(Deck& deck, int lfhash, int rule) {
...
@@ -89,7 +89,7 @@ int DeckManager::CheckDeck(Deck& deck, int lfhash, int rule) {
if
(
!
list
)
if
(
!
list
)
return
0
;
return
0
;
int
dc
=
0
;
int
dc
=
0
;
if
(
deck
.
main
.
size
()
<
YGOPRO_M
M
IN_DECK
||
deck
.
main
.
size
()
>
YGOPRO_MAX_DECK
)
if
(
deck
.
main
.
size
()
<
YGOPRO_MIN_DECK
||
deck
.
main
.
size
()
>
YGOPRO_MAX_DECK
)
return
(
DECKERROR_MAINCOUNT
<<
28
)
+
deck
.
main
.
size
();
return
(
DECKERROR_MAINCOUNT
<<
28
)
+
deck
.
main
.
size
();
if
(
deck
.
extra
.
size
()
>
YGOPRO_MAX_EXTRA
)
if
(
deck
.
extra
.
size
()
>
YGOPRO_MAX_EXTRA
)
return
(
DECKERROR_EXTRACOUNT
<<
28
)
+
deck
.
extra
.
size
();
return
(
DECKERROR_EXTRACOUNT
<<
28
)
+
deck
.
extra
.
size
();
...
...
gframe/game.h
View file @
2fc6f7fd
...
@@ -872,8 +872,8 @@ extern Game* mainGame;
...
@@ -872,8 +872,8 @@ extern Game* mainGame;
#define YGOPRO_MAX_DECK 60
#define YGOPRO_MAX_DECK 60
#endif
#endif
#ifndef YGOPRO_M
M
IN_DECK
#ifndef YGOPRO_MIN_DECK
#define YGOPRO_M
M
IN_DECK 40
#define YGOPRO_MIN_DECK 40
#endif
#endif
#ifndef YGOPRO_MAX_EXTRA
#ifndef YGOPRO_MAX_EXTRA
...
...
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