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
YGOPRO-520DIY
ygopro
Commits
9159d2bb
Commit
9159d2bb
authored
Jun 04, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1ad1b5fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+5
-1
ocgcore/processor.cpp
ocgcore/processor.cpp
+4
-0
No files found.
gframe/replay_mode.cpp
View file @
9159d2bb
...
@@ -146,17 +146,21 @@ int ReplayMode::ReplayThread(void* param) {
...
@@ -146,17 +146,21 @@ int ReplayMode::ReplayThread(void* param) {
}
}
end_duel
(
pduel
);
end_duel
(
pduel
);
if
(
!
is_closing
)
{
if
(
!
is_closing
)
{
mainGame
->
stMessage
->
setText
(
dataManager
.
GetSysString
(
1501
));
mainGame
->
actionSignal
.
Reset
();
mainGame
->
actionSignal
.
Reset
();
mainGame
->
gMutex
.
Lock
();
mainGame
->
stMessage
->
setText
(
dataManager
.
GetSysString
(
1501
));
if
(
mainGame
->
wCardSelect
->
isVisible
())
if
(
mainGame
->
wCardSelect
->
isVisible
())
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
gMutex
.
Unlock
();
mainGame
->
actionSignal
.
Wait
();
mainGame
->
actionSignal
.
Wait
();
mainGame
->
gMutex
.
Lock
();
mainGame
->
dInfo
.
isStarted
=
false
;
mainGame
->
dInfo
.
isStarted
=
false
;
mainGame
->
dInfo
.
isReplay
=
false
;
mainGame
->
dInfo
.
isReplay
=
false
;
mainGame
->
CloseDuelWindow
();
mainGame
->
CloseDuelWindow
();
mainGame
->
ClearTextures
();
mainGame
->
ClearTextures
();
mainGame
->
ShowElement
(
mainGame
->
wReplay
);
mainGame
->
ShowElement
(
mainGame
->
wReplay
);
mainGame
->
gMutex
.
Unlock
();
mainGame
->
device
->
setEventReceiver
(
&
mainGame
->
menuHandler
);
mainGame
->
device
->
setEventReceiver
(
&
mainGame
->
menuHandler
);
}
}
return
0
;
return
0
;
...
...
ocgcore/processor.cpp
View file @
9159d2bb
...
@@ -1083,6 +1083,10 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
...
@@ -1083,6 +1083,10 @@ int32 field::execute_operation(uint16 step, effect * triggering_effect, uint8 tr
shuffle
(
0
,
LOCATION_DECK
);
shuffle
(
0
,
LOCATION_DECK
);
if
(
core
.
shuffle_deck_check
[
1
])
if
(
core
.
shuffle_deck_check
[
1
])
shuffle
(
1
,
LOCATION_DECK
);
shuffle
(
1
,
LOCATION_DECK
);
cost
[
0
].
count
=
0
;
cost
[
1
].
count
=
0
;
cost
[
0
].
amount
=
0
;
cost
[
1
].
amount
=
0
;
}
}
core
.
shuffle_check_disabled
=
FALSE
;
core
.
shuffle_check_disabled
=
FALSE
;
return
TRUE
;
return
TRUE
;
...
...
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