Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
5758f758
Commit
5758f758
authored
May 18, 2024
by
mercury233
Committed by
mercury233
May 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment for is_continuous_event
parent
3e47c6f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
effect.cpp
effect.cpp
+2
-2
No files found.
effect.cpp
View file @
5758f758
...
...
@@ -18,9 +18,9 @@ bool effect_sort_id(const effect* e1, const effect* e2) {
bool
is_continuous_event
(
uint32
code
)
{
if
(
code
&
EVENT_CUSTOM
)
return
false
;
else
if
(
code
&
0xf0000
)
else
if
(
code
&
0xf0000
)
// EVENT_ADD_COUNTER, EVENT_REMOVE_COUNTER
return
false
;
else
if
(
code
&
0xf000
)
else
if
(
code
&
0xf000
)
// EVENT_PHASE_START must be continuous, but other EVENT_PHASE must not be
return
!!
(
code
&
EVENT_PHASE_START
);
else
return
continuous_event
.
find
(
code
)
!=
continuous_event
.
end
();
...
...
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