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
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
Commits
8ec561bb
Commit
8ec561bb
authored
Jan 04, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0962bce7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ocgcore/duel.cpp
ocgcore/duel.cpp
+2
-0
ocgcore/field.cpp
ocgcore/field.cpp
+0
-1
No files found.
ocgcore/duel.cpp
View file @
8ec561bb
...
...
@@ -17,6 +17,7 @@
duel
::
duel
()
{
lua
=
new
interpreter
(
this
);
game_field
=
new
field
(
this
);
game_field
->
temp_card
=
new_card
(
0
);
clear_buffer
();
}
duel
::~
duel
()
{
...
...
@@ -41,6 +42,7 @@ void duel::clear() {
groups
.
clear
();
effects
.
clear
();
game_field
=
new
field
(
this
);
game_field
->
temp_card
=
new_card
(
0
);
}
card
*
duel
::
new_card
(
uint32
code
)
{
card
*
pcard
=
new
card
(
this
);
...
...
ocgcore/field.cpp
View file @
8ec561bb
...
...
@@ -25,7 +25,6 @@ bool tevent::operator< (const tevent& v) const {
}
field
::
field
(
duel
*
pduel
)
{
this
->
pduel
=
pduel
;
temp_card
=
pduel
->
new_card
(
0
);
infos
.
copy_id
=
1
;
infos
.
turn_player
=
0
;
infos
.
turn_id
=
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