Replace trade_check_item_ok() by check_obj_ok()

Relaxes the sanity check of the argument's ef_type.  Could be avoided,
but not worth the bother.
This commit is contained in:
Markus Armbruster 2012-07-01 12:13:36 +02:00
parent 29f6d10a34
commit f75544ee70
3 changed files with 2 additions and 19 deletions

View file

@ -58,7 +58,6 @@ struct trdstr {
};
extern int trade_check_ok(struct trdstr *, union empobj_storage *);
extern int trade_check_item_ok(union empobj_storage *);
extern char *trade_nameof(struct trdstr *, union empobj_storage *);
extern int trade_desc(struct trdstr *, union empobj_storage *);
extern int trade_getitem(struct trdstr *, union empobj_storage *);