checkArgCount(L, 2, methodName); Point p1 = getPoint(L, 1, methodName); Point p2 = getPoint(L, 2, methodName); p1 *= mGridSize; // need to compare at the correct grid size. p2 *= mGridSize; //GridDatabase *db = mCaller->getGridDB(); //bool hasLOS = db->pointCanSeePoint(p1, p2); bool hasLOS; if(gServerGame == NULL) return returnNil(L); hasLOS = gServerGame->getGridDatabase()->pointCanSeePoint(p1,p2); return returnBool(L, hasLOS); //clearStack(); }