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
4fd7ba4f
Commit
4fd7ba4f
authored
Jul 21, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5b1399f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-1
ocgcore/operations.cpp
ocgcore/operations.cpp
+2
-2
No files found.
gframe/duelclient.cpp
View file @
4fd7ba4f
...
@@ -1828,7 +1828,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -1828,7 +1828,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
gMutex
.
Unlock
();
mainGame
->
gMutex
.
Unlock
();
if
(
pcard
==
mainGame
->
dField
.
hovered_card
)
if
(
pcard
==
mainGame
->
dField
.
hovered_card
)
mainGame
->
dField
.
hovered_card
=
0
;
mainGame
->
dField
.
hovered_card
=
0
;
}
}
else
mainGame
->
dField
.
RemoveCard
(
pc
,
pl
,
ps
);
delete
pcard
;
delete
pcard
;
}
else
{
}
else
{
if
(
!
(
pl
&
0x80
)
&&
!
(
cl
&
0x80
))
{
if
(
!
(
pl
&
0x80
)
&&
!
(
cl
&
0x80
))
{
...
...
ocgcore/operations.cpp
View file @
4fd7ba4f
...
@@ -2008,9 +2008,9 @@ int32 field::special_summon(uint16 step, effect * reason_effect, uint8 reason_pl
...
@@ -2008,9 +2008,9 @@ int32 field::special_summon(uint16 step, effect * reason_effect, uint8 reason_pl
for
(
auto
cit
=
targets
->
container
.
begin
();
cit
!=
targets
->
container
.
end
();
++
cit
)
{
for
(
auto
cit
=
targets
->
container
.
begin
();
cit
!=
targets
->
container
.
end
();
++
cit
)
{
if
(
!
((
*
cit
)
->
current
.
position
&
POS_FACEDOWN
))
if
(
!
((
*
cit
)
->
current
.
position
&
POS_FACEDOWN
))
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON_SUCCESS
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
current
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON_SUCCESS
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
current
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
int32
summontype
=
(
*
cit
)
->
summon_type
&
0x
3
000000
;
int32
summontype
=
(
*
cit
)
->
summon_type
&
0x
ff
000000
;
if
(
summontype
&&
(
*
cit
)
->
material_cards
.
size
())
{
if
(
summontype
&&
(
*
cit
)
->
material_cards
.
size
())
{
int32
matreason
=
(
summontype
&
SUMMON_TYPE_FUSION
)
?
REASON_FUSION
:
(
summontype
&
SUMMON_TYPE_RITUAL
)
?
REASON_RITUAL
:
0
;
int32
matreason
=
(
summontype
==
SUMMON_TYPE_FUSION
)
?
REASON_FUSION
:
(
summontype
==
SUMMON_TYPE_RITUAL
)
?
REASON_RITUAL
:
0
;
for
(
auto
mit
=
(
*
cit
)
->
material_cards
.
begin
();
mit
!=
(
*
cit
)
->
material_cards
.
end
();
++
mit
)
for
(
auto
mit
=
(
*
cit
)
->
material_cards
.
begin
();
mit
!=
(
*
cit
)
->
material_cards
.
end
();
++
mit
)
raise_single_event
(
*
mit
,
0
,
EVENT_BE_MATERIAL
,
core
.
reason_effect
,
matreason
,
core
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
raise_single_event
(
*
mit
,
0
,
EVENT_BE_MATERIAL
,
core
.
reason_effect
,
matreason
,
core
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
raise_event
(
&
((
*
cit
)
->
material_cards
),
EVENT_BE_MATERIAL
,
core
.
reason_effect
,
matreason
,
core
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
raise_event
(
&
((
*
cit
)
->
material_cards
),
EVENT_BE_MATERIAL
,
core
.
reason_effect
,
matreason
,
core
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
...
...
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