Topic: COLFLAG limit
Hi all
I just noticed that there's limit to collision flags.
e.g.
enum
{
COLFLAG_SOLID=1,
COLFLAG_DEATH=2,
COLFLAG_NOHOOK=4,
COLFLAG_TEST1=8,
COLFLAG_TEST2=16,
COLFLAG_TEST3=32,
COLFLAG_TEST4=64,
COLFLAG_TEST5=128,
COLFLAG_TEST6=256,
COLFLAG_TEST7=512
};
so GameServer()->Collision()->GetCollisionAt(Pos.x, Pos.y)&CCollision::COLFLAG_TEST6) doesn't work. test 1, 2, 3, 4 & 5 works fine, but are flags 256 & 512 too big for... something?
Am I missing something, or is there a way around?