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
3e59f424
Commit
3e59f424
authored
Nov 25, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updc
parent
94b3f0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ocgcore/processor.cpp
ocgcore/processor.cpp
+3
-1
No files found.
ocgcore/processor.cpp
View file @
3e59f424
...
@@ -1371,8 +1371,10 @@ int32 field::process_phase_event(int16 step, int32 phase) {
...
@@ -1371,8 +1371,10 @@ int32 field::process_phase_event(int16 step, int32 phase) {
tf_count++;
tf_count++;
}
}
pr = effects.continuous_effect.equal_range(phase_event);
pr = effects.continuous_effect.equal_range(phase_event);
for(; pr.first != pr.second;
++pr.first
) {
for(; pr.first != pr.second;) {
peffect = pr.first->second;
peffect = pr.first->second;
++pr.first;
//effects.continuous_effect may be changed in is_activateable (e.g. Rescue Cat)
if(peffect->get_handler_player() != check_player || !peffect->is_activateable(check_player, nil_event))
if(peffect->get_handler_player() != check_player || !peffect->is_activateable(check_player, nil_event))
continue;
continue;
peffect->id = infos.field_id++;
peffect->id = infos.field_id++;
...
...
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