bool HookDuelCheck2(LPOBJ lpObj, LPOBJ lpTargetObj) { bool cResult = false; // ---- if(lpObj->Type == OBJECT_USER || lpTargetObj->Type == OBJECT_USER) { if(g_DuelSystem.DuelCheck(lpObj, lpTargetObj)) cResult = true; else goBjHoookLoad2(lpObj, lpTargetObj); } return cResult; }
bool HookDuelCheck2(LPOBJ lpObj, LPOBJ lpTargetObj) { bool cResult = false; if(lpObj->Type == OBJECT_USER || lpTargetObj->Type == OBJECT_USER) { if(DuelSystem.DuelCheck(lpObj, lpTargetObj)) { cResult = true; } else { goBjHoookLoad2(lpObj, lpTargetObj); } } return cResult; }