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
86121c09
Commit
86121c09
authored
Jan 13, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove variable
parent
8f4e30bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
field.h
field.h
+0
-1
processor.cpp
processor.cpp
+2
-4
No files found.
field.h
View file @
86121c09
...
...
@@ -291,7 +291,6 @@ struct processor {
uint32
hint_timing
[
2
];
uint8
current_player
;
uint8
conti_player
;
int32
ctype
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>
>
summon_counter
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>
>
normalsummon_counter
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>
>
spsummon_counter
;
...
...
processor.cpp
View file @
86121c09
...
...
@@ -2853,7 +2853,7 @@ int32 field::process_battle_command(uint16 step) {
return
FALSE
;
}
else
{
core
.
units
.
begin
()
->
step
=
39
;
core.
ctype
= ctype;
core
.
units
.
begin
()
->
arg1
=
ctype
;
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
HINT_EVENT
);
pduel
->
write_buffer8
(
1
-
infos
.
turn_player
);
...
...
@@ -3632,7 +3632,6 @@ int32 field::process_battle_command(uint16 step) {
cait
->
triggering_effect
->
handler
->
set_status
(
STATUS_CHAINING
,
FALSE
);
add_process
(
PROCESSOR_SOLVE_CHAIN
,
0
,
0
,
0
,
FALSE
,
0
);
core
.
units
.
begin
()
->
step
=
-
1
;
core.ctype = 0;
return
FALSE
;
}
reset_phase
(
PHASE_BATTLE_STEP
);
...
...
@@ -3640,8 +3639,7 @@ int32 field::process_battle_command(uint16 step) {
return
FALSE
;
}
case
41
:
{
core.units.begin()->arg1 = core.ctype;
core.ctype = 0;
// normal end of battle step
if
(
is_player_affected_by_effect
(
infos
.
turn_player
,
EFFECT_BP_TWICE
))
core
.
units
.
begin
()
->
arg2
=
1
;
else
...
...
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