Skip to content
Snippets Groups Projects
Commit f6f8ad59 authored by dg's avatar dg
Browse files

orcs cannot be ambushed by orcs

git-svn-id: http://svn.net-core.org/repos/t-engine4@727 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7ada5c85
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ function _M:parseCoords()
end
function _M:checkFilter(filter)
if filter.special_filter and not filter.special_filter(self) then return false end
if self.special_filter and not self.special_filter(self) then return false end
if filter.mapx and filter.mapy then
if not self.on_map[filter.mapx.."x"..filter.mapy] then return false end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment