void Remove(const T* inValue)
{
int offset = inValue->x*MAXTILE_YLEN + inValue->z;
mbVisited[offset] &= ~(1 << inValue->direction);
Count--;
}
BYTE mbVisited[MAXTILE_XLEN*MAXTILE_YLEN];
I want to clear the corresponding mbVisited bit based on the x,y and dir given as
the argument to Remove.
But I am not sure if this would work or not?
Thanks
Jack