Commit 878b44a3 authored by xiaoye's avatar xiaoye

Update vgfuncLib.lua

parent 27198681
......@@ -1034,7 +1034,7 @@ end
function VgF.GetMatchingGroup(f, p, loc_self, loc_oppo, ex, ...)
function GetLocFilter()
local loc_filter = {VgF.True, VgF.True}
for i, loc in ipairs({loc_self, loc_oppo}) do
for i, loc in ipairs({loc_self or 0, loc_oppo or 0}) do
if loc & LOCATION_V_CIRCLE > 0 and loc & LOCATION_R_CIRCLE > 0 then
loc = (loc - LOCATION_V_CIRCLE - LOCATION_R_CIRCLE) | LOCATION_CIRCLE
elseif loc & LOCATION_V_CIRCLE > 0 then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment