version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_move_c = | | * static char *rcsid_move_c = |
* "$Id: move.c,v 1.31 2004/04/14 07:24:31 mwedel Exp $"; | | * "$Id: move.c,v 1.32 2004/04/16 06:23:43 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return 0; | | return 0; |
} | | } |
| | |
| | /* If the space the player is trying to is out of the map, |
| | * bail now - we know it can't work. |
| | */ |
| | if (mflags & P_OUT_OF_MAP) return 0; |
| | |
| | |
/* Is this space blocked? Players with wizpass are immune to | | /* Is this space blocked? Players with wizpass are immune to |
* this condition. | | * this condition. |
*/ | | */ |
if(blocked_link(op, newx, newy) && | | if(blocked_link(op, m, newx, newy) && |
!QUERY_FLAG(op, FLAG_WIZPASS)) | | !QUERY_FLAG(op, FLAG_WIZPASS)) |
return 0; | | return 0; |
| | |
/* If the space the player is trying to is out of the map, | | |
* bail now - we know it can't work. | | |
*/ | | |
if (mflags & P_OUT_OF_MAP) return 0; | | |
| | |
/* 0.94.2 - we need to set the direction for the new animation code. | | /* 0.94.2 - we need to set the direction for the new animation code. |
* it uses it to figure out face to use - I can't see it | | * it uses it to figure out face to use - I can't see it |
* breaking anything, but it might. | | * breaking anything, but it might. |