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
b5f28bc4
Commit
b5f28bc4
authored
Aug 15, 2018
by
DailyShana
Committed by
GitHub
Aug 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove STATUS_ACTIVATED (#178)
parent
6822d15c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
card.h
card.h
+1
-1
operations.cpp
operations.cpp
+1
-4
processor.cpp
processor.cpp
+0
-1
No files found.
card.h
View file @
b5f28bc4
...
...
@@ -382,7 +382,7 @@ public:
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_INITIALIZING 0x400000
#define STATUS_ACTIVATED 0x800000
//
#define STATUS_ACTIVATED 0x800000
#define STATUS_JUST_POS 0x1000000
#define STATUS_CONTINUOUS_POS 0x2000000
#define STATUS_FORBIDDEN 0x4000000
...
...
operations.cpp
View file @
b5f28bc4
...
...
@@ -4358,10 +4358,7 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
pzone
=
TRUE
;
move_card
(
playerid
,
target
,
location
,
target
->
temp
.
sequence
,
pzone
);
target
->
current
.
position
=
returns
.
ivalue
[
0
];
if
((
target
->
previous
.
location
&
LOCATION_ONFIELD
)
&&
(
location
&
LOCATION_ONFIELD
))
target
->
set_status
(
STATUS_LEAVE_CONFIRMED
,
FALSE
);
else
target
->
set_status
(
STATUS_LEAVE_CONFIRMED
|
STATUS_ACTIVATED
,
FALSE
);
target
->
set_status
(
STATUS_LEAVE_CONFIRMED
,
FALSE
);
pduel
->
write_buffer32
(
target
->
get_info_location
());
pduel
->
write_buffer32
(
target
->
current
.
reason
);
if
((
target
->
current
.
location
!=
LOCATION_MZONE
))
{
...
...
processor.cpp
View file @
b5f28bc4
...
...
@@ -4662,7 +4662,6 @@ int32 field::solve_chain(uint16 step, uint32 chainend_arg1, uint32 chainend_arg2
effect
*
peffect
=
cait
->
triggering_effect
;
card
*
pcard
=
peffect
->
get_handler
();
if
((
peffect
->
type
&
EFFECT_TYPE_ACTIVATE
)
&&
pcard
->
is_has_relation
(
*
cait
))
{
pcard
->
set_status
(
STATUS_ACTIVATED
,
TRUE
);
pcard
->
enable_field_effect
(
true
);
if
(
core
.
duel_rule
<=
2
)
{
if
(
pcard
->
data
.
type
&
TYPE_FIELD
)
{
...
...
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