version 1.73 | | version 1.74 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.73 2003/09/13 05:01:29 mwedel Exp $"; | | * "$Id: object.c,v 1.74 2003/10/26 06:56:56 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
diff=(SLOW_PENALTY(tmp)*FABS(op->speed)); | | diff=(SLOW_PENALTY(tmp)*FABS(op->speed)); |
if (op->type==PLAYER) { | | if (op->type==PLAYER) { |
if ((QUERY_FLAG(tmp,FLAG_IS_HILLY) && find_skill(op,SK_CLIMBING)) || | | if ((QUERY_FLAG(tmp,FLAG_IS_HILLY) && (*find_skill_by_number_func)(op,SK_CLIMBING)) || |
(QUERY_FLAG(tmp,FLAG_IS_WOODED) && find_skill(op,SK_WOODSMAN))) { | | (QUERY_FLAG(tmp,FLAG_IS_WOODED) && (*find_skill_by_number_func)(op,SK_WOODSMAN))) { |
diff=diff/4.0; | | diff=diff/4.0; |
} | | } |
} | | } |