Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
t-engine4
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hachem_Muche
t-engine4
Commits
e727ce08
Commit
e727ce08
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Zone:checkFilter can now use a "define_as" filter
parent
8d9821eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/engines/default/engine/Zone.lua
+1
-0
1 addition, 0 deletions
game/engines/default/engine/Zone.lua
with
1 addition
and
0 deletions
game/engines/default/engine/Zone.lua
+
1
−
0
View file @
e727ce08
...
...
@@ -251,6 +251,7 @@ function _M:checkFilter(e, filter, type)
if
filter
.
type
and
filter
.
type
~=
e
.
type
then
return
false
end
if
filter
.
subtype
and
filter
.
subtype
~=
e
.
subtype
then
return
false
end
if
filter
.
name
and
filter
.
name
~=
e
.
name
then
return
false
end
if
filter
.
define_as
and
filter
.
define_as
~=
e
.
define_as
then
return
false
end
if
filter
.
unique
and
not
e
.
unique
then
return
false
end
if
filter
.
properties
then
for
i
=
1
,
#
filter
.
properties
do
if
not
e
[
filter
.
properties
[
i
]]
then
return
false
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment