--- deliantra/server/include/define.h 2008/03/15 13:52:37 1.78 +++ deliantra/server/include/define.h 2008/04/22 07:01:46 1.80 @@ -301,8 +301,8 @@ #define NUM_SUBTYPES 64 /* Subtypes for BUILDER */ -#define ST_BD_BUILD 1 /* Builds an item */ -#define ST_BD_REMOVE 2 /* Removes an item */ +#define ST_BD_BUILD 1 /* Builds an item */ +#define ST_BD_REMOVE 2 /* Removes an item */ /* Subtypes for MATERIAL */ #define ST_MAT_FLOOR 1 /* Floor */ @@ -761,12 +761,6 @@ #define RANDOM() (rndm.next () & 0xffffffU) -/* Returns the weight of the given object. Note: it does not take the number of - * items (nrof) into account. - * (this looks rather bogus, schmorp) - */ -#define WEIGHT(op) ((op)->nrof ? (op)->weight : (op)->weight + (op)->carrying) - /* * Warning! * If you add message types here, don't forget