version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.11 2000/10/22 14:27:39 avogl Exp $"; | | * "$Id: c_object.c,v 1.12 2000/11/03 05:42:56 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
*/ | | */ |
void pick_up_object (object *pl, object *op, object *tmp, int nrof) | | void pick_up_object (object *pl, object *op, object *tmp, int nrof) |
{ | | { |
char buf[MAX_BUF]; | | /* buf needs to be big (more than 256 chars) because you can get |
| | * very long item names. |
| | */ |
| | char buf[HUGE_BUF]; |
object *env=tmp->env; | | object *env=tmp->env; |
uint32 weight; | | uint32 weight; |
| | |