Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
苍蓝
rd-ygopro
Commits
312d490f
Commit
312d490f
authored
Jan 29, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update showing equip and target icon
parent
a71beaca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
gframe/client_card.cpp
gframe/client_card.cpp
+2
-4
gframe/duelclient.cpp
gframe/duelclient.cpp
+1
-0
ocgcore
ocgcore
+1
-1
No files found.
gframe/client_card.cpp
View file @
312d490f
...
...
@@ -165,13 +165,11 @@ void ClientCard::UpdateInfo(char* buf) {
}
void
ClientCard
::
ClearTarget
()
{
for
(
auto
cit
=
cardTarget
.
begin
();
cit
!=
cardTarget
.
end
();
++
cit
)
{
if
(
is_showtarget
)
(
*
cit
)
->
is_showtarget
=
false
;
(
*
cit
)
->
is_showtarget
=
false
;
(
*
cit
)
->
ownerTarget
.
erase
(
this
);
}
for
(
auto
cit
=
ownerTarget
.
begin
();
cit
!=
ownerTarget
.
end
();
++
cit
)
{
if
(
is_showtarget
)
(
*
cit
)
->
is_showtarget
=
false
;
(
*
cit
)
->
is_showtarget
=
false
;
(
*
cit
)
->
cardTarget
.
erase
(
this
);
}
cardTarget
.
clear
();
...
...
gframe/duelclient.cpp
View file @
312d490f
...
...
@@ -2573,6 +2573,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
}
else
{
mainGame
->
gMutex
.
Lock
();
if
(
pc1
->
equipTarget
)
{
pc1
->
is_showequip
=
false
;
pc1
->
equipTarget
->
is_showequip
=
false
;
pc1
->
equipTarget
->
equipped
.
erase
(
pc1
);
}
...
...
ocgcore
@
7861b594
Subproject commit
ccbe898dfe57f5c34e3c659a849255303776cc61
Subproject commit
7861b594b004e93bc2af1689e4dcc7e7f1792fdf
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