Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
7f76d5a9
Commit
7f76d5a9
authored
Jul 18, 2013
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
bde95ef4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ocgcore/interpreter.cpp
ocgcore/interpreter.cpp
+1
-1
ocgcore/libcard.cpp
ocgcore/libcard.cpp
+0
-1
No files found.
ocgcore/interpreter.cpp
View file @
7f76d5a9
...
...
@@ -738,7 +738,7 @@ int32 interpreter::call_function(int32 f, uint32 param_count, uint32 ret_count)
return
OPERATION_FAIL
;
}
if
(
param_count
!=
params
.
size
())
{
sprintf
(
pduel
->
strbuffer
,
"
\"
CallFunction
\"
: incorrect parameter count (%d expected, %
l
d pushed)"
,
param_count
,
params
.
size
());
sprintf
(
pduel
->
strbuffer
,
"
\"
CallFunction
\"
: incorrect parameter count (%d expected, %
u
d pushed)"
,
param_count
,
params
.
size
());
handle_message
(
pduel
,
1
);
params
.
clear
();
return
OPERATION_FAIL
;
...
...
ocgcore/libcard.cpp
View file @
7f76d5a9
...
...
@@ -1780,7 +1780,6 @@ int32 scriptlib::card_add_trap_monster_attribute(lua_State *L) {
int32
level
=
lua_tointeger
(
L
,
5
);
int32
atk
=
lua_tointeger
(
L
,
6
);
int32
def
=
lua_tointeger
(
L
,
7
);
int32
is_tuner
=
FALSE
;
card
*
pcard
=
*
(
card
**
)
lua_touserdata
(
L
,
1
);
duel
*
pduel
=
pcard
->
pduel
;
//type
...
...
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