version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.31 2001/11/11 09:39:54 gros Exp $"; | | * "$Id: c_object.c,v 1.32 2002/03/01 21:33:11 avogl Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
buf[VERY_BIG_BUF-1]=0; | | buf[VERY_BIG_BUF-1]=0; |
} | | } |
else { | | else { |
| | /* Only quetzals can see the resistances on flesh. To realize |
| | this, we temporarily flag the flesh with SEE_INVISIBLE */ |
| | if (op->type == PLAYER && tmp->type == FLESH && strcmp(op->race, "dragon") == 0) |
| | SET_FLAG(tmp, FLAG_SEE_INVISIBLE); |
| | |
strcpy(buf,"That is "); | | strcpy(buf,"That is "); |
| | |
strncat(buf, long_desc(tmp), VERY_BIG_BUF-strlen(buf)-1); | | strncat(buf, long_desc(tmp), VERY_BIG_BUF-strlen(buf)-1); |
buf[VERY_BIG_BUF-1]=0; | | buf[VERY_BIG_BUF-1]=0; |
| | if (op->type == PLAYER && tmp->type == FLESH) |
| | CLEAR_FLAG(tmp, FLAG_SEE_INVISIBLE); |
} | | } |
| | |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |