I am getting an expected primary-expression before '=' token, how can I fix this?
void vldtmv()
{
if ( brd[opx][opy].cont[1]=='H' )
{
if ( ( npx - opx !== 2 && -2 || npy - opy !== 1 && -1 ) && (npx-opx !== 1 && -1 || npy-opy !== 2 && -2) )
{
type=1;
}
}
}