version 1.19 | | version 1.20 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.19 2001/05/03 09:09:07 mardahl Exp $"; | | * "$Id: gods.c,v 1.20 2001/05/29 04:41:53 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
void pray_at_altar(object *pl, object *altar) { | | void pray_at_altar(object *pl, object *altar) { |
object *pl_god=find_god(determine_god(pl)); | | object *pl_god=find_god(determine_god(pl)); |
| | |
| | |
#ifdef MULTIPLE_GODS | | |
/* If non consecrate altar, don't do anything */ | | /* If non consecrate altar, don't do anything */ |
if (!altar->other_arch) return; | | if (!altar->other_arch) return; |
| | |
| | |
move_player(pl,absdir(pl->facing + 4)); /* 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 | | |
} | | } |
| | |
static int get_spell_number (object *op) | | static int get_spell_number (object *op) |