version 1.33 | | version 1.34 |
---|
| | |
/* | | /* |
* static char *rcsid_move_c = | | * static char *rcsid_move_c = |
* "$Id: move.c,v 1.33 2004/08/20 20:02:10 akirschbaum Exp $"; | | * "$Id: move.c,v 1.34 2004/12/29 08:45:08 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return 0; | | return 0; |
} | | } |
| | |
/* If we get here, the push succeeded. Let each now the | | /* If we get here, the push succeeded. |
* status. I'm not sure if the second statement really needs | | * Let everyone know the status. |
* to be in an else block - the message is going to a different | | |
* player | | |
*/ | | */ |
if (who->type == PLAYER) { | | if (who->type == PLAYER) { |
new_draw_info_format(NDI_UNIQUE, 0, who, | | new_draw_info_format(NDI_UNIQUE, 0, who, |
"%s pushed you.",pusher->name); | | "%s pushed you.",pusher->name); |
} | | } |
else if (QUERY_FLAG(who, FLAG_MONSTER)) { | | if (pusher->type == PLAYER) { |
new_draw_info_format(NDI_UNIQUE, 0, pusher, | | new_draw_info_format(NDI_UNIQUE, 0, pusher, |
"You pushed %s back.", who->name); | | "You pushed %s back.", who->name); |
} | | } |