It is the same. The second one is a "#define macro"

#define set(obj,flag) obj.flags |= (flag)
#define reset(obj,flag) obj.flags &= ~(flag)

search for define in the manual

PS: set(Badrizmo,INVISIBLE); is false, use: reset(Badrizmo,VISIBLE);
INVISIBLE is another flag...

Last edited by Widi; 05/11/10 17:42.