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
0ceb3df9
Commit
0ceb3df9
authored
May 10, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a1621ee4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+0
-1
ocgcore/ocgapi.cpp
ocgcore/ocgapi.cpp
+2
-0
No files found.
gframe/game.cpp
View file @
0ceb3df9
...
...
@@ -13,7 +13,7 @@
#include <dirent.h>
#endif
const
unsigned
short
PRO_VERSION
=
0x127
1
;
const
unsigned
short
PRO_VERSION
=
0x127
2
;
namespace
ygo
{
...
...
gframe/replay_mode.cpp
View file @
0ceb3df9
...
...
@@ -326,7 +326,6 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
}
case
MSG_NEW_TURN
:
{
pbuf
++
;
ReplayRefresh
();
DuelClient
::
ClientAnalyze
(
offset
,
pbuf
-
offset
);
break
;
}
...
...
ocgcore/ocgapi.cpp
View file @
0ceb3df9
...
...
@@ -153,12 +153,14 @@ extern "C" DECL_DLLEXPORT void new_tag_card(ptr pduel, uint32 code, uint8 owner,
switch
(
location
)
{
case
LOCATION_DECK
:
ptduel
->
game_field
->
player
[
owner
].
tag_list_main
.
push_back
(
pcard
);
pcard
->
owner
=
owner
;
pcard
->
current
.
controler
=
owner
;
pcard
->
current
.
location
=
LOCATION_DECK
;
pcard
->
current
.
sequence
=
ptduel
->
game_field
->
player
[
owner
].
tag_list_main
.
size
()
-
1
;
break
;
case
LOCATION_EXTRA
:
ptduel
->
game_field
->
player
[
owner
].
tag_list_extra
.
push_back
(
pcard
);
pcard
->
owner
=
owner
;
pcard
->
current
.
controler
=
owner
;
pcard
->
current
.
location
=
LOCATION_EXTRA
;
pcard
->
current
.
sequence
=
ptduel
->
game_field
->
player
[
owner
].
tag_list_extra
.
size
()
-
1
;
...
...
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