version 1.33 | | version 1.34 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.33 2002/11/26 07:55:24 garbled Exp $"; | | * "$Id: gods.c,v 1.34 2002/11/26 08:48:20 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
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 PLUGINS | | |
int return_pray_script; /* GROS : This is for return value of script */ | | int return_pray_script; /* GROS : This is for return value of script */ |
| | |
/* GROS: Handle for plugin altar-parying (apply) event */ | | /* GROS: Handle for plugin altar-parying (apply) event */ |
if(altar->event_hook[EVENT_APPLY] != NULL) | | if(altar->event_hook[EVENT_APPLY] != NULL) |
{ | | { |
| | |
if (return_pray_script) return; | | if (return_pray_script) return; |
} | | } |
} | | } |
#endif | | |
| | |
/* 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; |