K
Kostatus
The following code worked perfectly fine until i modified an unrelated part
of the program:
this->dungArea[x][y].mBlocked =
mioS.mio_dungArea[x][y].mFlags & isBlocked;
after that i started getting the error message:
error C2297: '&' : illegal, right operand has type 'bool (__thiscall
cDungeon::*)(int,int)'
Also,
if(this->dungArea[x][y].mBlocked)
mioS.mio_dungArea[x][y].mFlags |= isBlocked;
stopped working with the same kind of error message:
error C2297: '|=' : illegal, right operand has type 'bool (__thiscall
cDungeon::*)(int,int)'
Can anyone help me fix this?
of the program:
this->dungArea[x][y].mBlocked =
mioS.mio_dungArea[x][y].mFlags & isBlocked;
after that i started getting the error message:
error C2297: '&' : illegal, right operand has type 'bool (__thiscall
cDungeon::*)(int,int)'
Also,
if(this->dungArea[x][y].mBlocked)
mioS.mio_dungArea[x][y].mFlags |= isBlocked;
stopped working with the same kind of error message:
error C2297: '|=' : illegal, right operand has type 'bool (__thiscall
cDungeon::*)(int,int)'
Can anyone help me fix this?