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
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-core
Commits
0ddfd4be
Commit
0ddfd4be
authored
Feb 23, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert: solve_continuous()
basically revert to 76e36
parent
ec0026c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
processor.cpp
processor.cpp
+30
-30
No files found.
processor.cpp
View file @
0ddfd4be
...
...
@@ -2301,13 +2301,13 @@ int32 field::process_instant_event() {
pr = effects.activate_effect.equal_range(elit->event_code);
for(; pr.first != pr.second; ++pr.first) {
peffect = pr.first->second;
if(
(peffect->is_flag(EFFECT_FLAG_DELAY)
) && peffect->is_condition_check(peffect->handler->current.controler, *elit))
if(
peffect->is_flag(EFFECT_FLAG_DELAY
) && peffect->is_condition_check(peffect->handler->current.controler, *elit))
core.delayed_quick_tmp.insert(std::make_pair(peffect, *elit));
}
pr = effects.quick_o_effect.equal_range(elit->event_code);
for(; pr.first != pr.second; ++pr.first) {
peffect = pr.first->second;
if(
(peffect->is_flag(EFFECT_FLAG_DELAY)
) && peffect->is_condition_check(peffect->handler->current.controler, *elit))
if(
peffect->is_flag(EFFECT_FLAG_DELAY
) && peffect->is_condition_check(peffect->handler->current.controler, *elit))
core.delayed_quick_tmp.insert(std::make_pair(peffect, *elit));
}
}
...
...
@@ -4466,11 +4466,10 @@ int32 field::solve_continuous(uint16 step, effect * peffect, uint8 triggering_pl
if(oit->second.op_cards)
pduel->delete_group(oit->second.op_cards);
}
auto ev=core.solving_event.front();
core.continuous_chain.pop_back();
core.solving_event.pop_front();
core.conti_solving = FALSE;
if(
ev.event_code != EVENT_ADJUST)
if(
peffect->is_flag(EFFECT_FLAG_DELAY)) {
adjust_all();
if(core.conti_player == PLAYER_NONE)
core.conti_player = infos.turn_player;
...
...
@@ -4501,6 +4500,7 @@ int32 field::solve_continuous(uint16 step, effect * peffect, uint8 triggering_pl
else
core.conti_player = PLAYER_NONE;
}
}
return TRUE;
}
}
...
...
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