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
6c9c73b1
Commit
6c9c73b1
authored
Oct 13, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix obsolete ignition
parent
999f4ba5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
field.h
field.h
+1
-0
processor.cpp
processor.cpp
+3
-1
No files found.
field.h
View file @
6c9c73b1
...
@@ -190,6 +190,7 @@ struct processor {
...
@@ -190,6 +190,7 @@ struct processor {
event_list
sub_solving_event
;
event_list
sub_solving_event
;
chain_array
select_chains
;
chain_array
select_chains
;
chain_array
current_chain
;
chain_array
current_chain
;
chain_array
tmp_chains
;
chain_list
continuous_chain
;
chain_list
continuous_chain
;
chain_list
solving_continuous
;
chain_list
solving_continuous
;
chain_list
sub_solving_continuous
;
chain_list
sub_solving_continuous
;
...
...
processor.cpp
View file @
6c9c73b1
...
@@ -1879,7 +1879,7 @@ int32 field::process_point_event(int16 step, int32 skip_trigger, int32 skip_free
...
@@ -1879,7 +1879,7 @@ int32 field::process_point_event(int16 step, int32 skip_trigger, int32 skip_free
newchain.triggering_effect = peffect;
newchain.triggering_effect = peffect;
newchain.set_triggering_place(phandler);
newchain.set_triggering_place(phandler);
newchain.triggering_player = infos.turn_player;
newchain.triggering_player = infos.turn_player;
core
.
select
_chains
.
push_back
(
newchain
);
core.
tmp
_chains.push_back(newchain);
}
}
}
}
}
}
...
@@ -2038,6 +2038,8 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
...
@@ -2038,6 +2038,8 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
}
}
case 2: {
case 2: {
chain newchain;
chain newchain;
if(core.tmp_chains.size())
core.select_chains.swap(core.tmp_chains);
for(auto evit = core.point_event.begin(); evit != core.instant_event.end(); ++evit) {
for(auto evit = core.point_event.begin(); evit != core.instant_event.end(); ++evit) {
if(evit == core.point_event.end())
if(evit == core.point_event.end())
evit = core.instant_event.begin();
evit = core.instant_event.begin();
...
...
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