|
![](/i/fill.gif) |
Again, looking in the code I spotted this MACRO that seems to me
wrong:
-> File: objects.h Line: 55-56
* Copy_Flag (Object1, Object2, Flag) : Set the Flag in Object1 to the
* value of the Flag in Object2.
-> File: objects.h Line: 108-111
#define Copy_Flag(Object1, Object2, Flag) \
{ (Object1)->Flags = (((Object1)->Flags) & (!Flag)) | \
(((Object2)->Flags) & (Flag)); }
I think ~ is correct instead of !
#define Copy_Flag(Object1, Object2, Flag) \
{ (Object1)->Flags = (((Object1)->Flags) & (~Flag)) | \
(((Object2)->Flags) & (Flag)); }
HTH Massimo
Post a reply to this message
|
![](/i/fill.gif) |