version 1.18 | | version 1.19 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.18 2001/04/28 06:19:54 mardahl Exp $"; | | * "$Id: gods.c,v 1.19 2001/05/03 09:09:07 mardahl Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
else { /* toss this player off the altar. He can try again. */ | | else { /* toss this player off the altar. He can try again. */ |
new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl, | | new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl, |
"A divine force pushes you off the altar."); | | "A divine force pushes you off the altar."); |
move_player(pl,(pl->facing + 4)%8); /* back him off the way he came. */ | | move_player(pl,absdir(pl->facing + 4)); /* back him off the way he came. */ |
} /* didn't successfully change, so forced off altar. */ | | } /* didn't successfully change, so forced off altar. */ |
} /* If prayed at altar to other god */ | | } /* If prayed at altar to other god */ |
#endif | | #endif |