Index: class.c ================================================================== --- class.c +++ class.c @@ -1447,10 +1447,14 @@ break; case OP_LABEL: pushback=1; ptr=parse_instructions(cla,ptr,hash,compat); break; + case OP_COLLISIONLAYERS: + cl->collisionLayers=i=class_def_misc(); + if(i&~255) ParseError("CollisionLayers out of range\n"); + break; case 0x0200 ... 0x02FF: set_message_ptr(cla,tokenv&255,ptr); ptr=parse_instructions(cla,ptr,hash,compat); break; case 0xC000 ... 0xFFFF: Index: class.doc ================================================================== --- class.doc +++ class.doc @@ -242,10 +242,14 @@ object's location. (Climb ) Define the Climb variable for this class. +(CollisionLayers ) + Define the CollisionLayers variable for this class. The format is the + same as for Misc4 (see below), but only the low 8-bits are usable. + Compatible Sets the Compatible flag for this class. ,Compatible Sets the Compatible flag for this class, but removes the restriction of