Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
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
nanahira
ygopro
Commits
506c0076
Commit
506c0076
authored
Jan 05, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5771b1e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
gframe/event_handler.cpp
gframe/event_handler.cpp
+10
-3
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/event_handler.cpp
View file @
506c0076
...
...
@@ -577,9 +577,16 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
command_card
=
selectable_cards
[
id
-
BUTTON_CARD_0
+
mainGame
->
scrCardList
->
getPos
()
/
10
];
selected_cards
.
push_back
(
command_card
);
if
(
CheckSelectSum
())
{
SetResponseSelectedCards
();
mainGame
->
HideElement
(
mainGame
->
wCardSelect
,
true
);
if
(
selectsum_cards
.
size
()
==
0
||
selectable_cards
.
size
()
==
0
)
{
SetResponseSelectedCards
();
mainGame
->
HideElement
(
mainGame
->
wCardSelect
,
true
);
}
else
{
select_ready
=
true
;
mainGame
->
wCardSelect
->
setVisible
(
false
);
mainGame
->
dField
.
ShowSelectCard
(
true
);
}
}
else
{
select_ready
=
false
;
mainGame
->
wCardSelect
->
setVisible
(
false
);
mainGame
->
dField
.
ShowSelectCard
();
}
...
...
@@ -628,7 +635,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
break
;
}
if
(
mainGame
->
dInfo
.
curMsg
==
MSG_SELECT_CARD
)
{
if
(
mainGame
->
dInfo
.
curMsg
==
MSG_SELECT_CARD
||
mainGame
->
dInfo
.
curMsg
==
MSG_SELECT_SUM
)
{
if
(
select_ready
)
{
SetResponseSelectedCards
();
mainGame
->
HideElement
(
mainGame
->
wCardSelect
,
true
);
...
...
ocgcore
@
85d2b687
Subproject commit
130de2f618693c34a7ebffeb9c5011c699a789c5
Subproject commit
85d2b687cdbb4a3bb925a06cf66f0a46c1f08e08
script
@
f0df5c7e
Subproject commit
bb5f1dd13d95f3f666bc4f4e3b4e95557ecb261
2
Subproject commit
f0df5c7e608a8757ac84e521e3766347e752b25
2
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