Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
7b059927
Commit
7b059927
authored
Aug 10, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fd3706dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ocgcore/libeffect.cpp
ocgcore/libeffect.cpp
+2
-1
No files found.
ocgcore/libeffect.cpp
View file @
7b059927
...
...
@@ -115,6 +115,7 @@ int32 scriptlib::effect_set_target_range(lua_State *L) {
int32
o
=
lua_tointeger
(
L
,
3
);
peffect
->
s_range
=
s
;
peffect
->
o_range
=
o
;
peffect
->
flag
&=
~
EFFECT_FLAG_ABSOLUTE_TARGET
;
return
0
;
}
int32
scriptlib
::
effect_set_absolute_range
(
lua_State
*
L
)
{
...
...
@@ -189,7 +190,7 @@ int32 scriptlib::effect_set_property(lua_State *L) {
check_param
(
L
,
PARAM_TYPE_EFFECT
,
1
);
effect
*
peffect
=
*
(
effect
**
)
lua_touserdata
(
L
,
1
);
uint32
v
=
lua_tounsigned
(
L
,
2
);
peffect
->
flag
|=
v
&
0xfffffff0
;
peffect
->
flag
=
(
peffect
->
flag
&
0x4f
)
|
(
v
&
~
0x4f
)
;
return
0
;
}
int32
scriptlib
::
effect_set_label
(
lua_State
*
L
)
{
...
...
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