version 1.55 | | version 1.56 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.55 2005/10/18 16:54:31 gros Exp $"; | | * "$Id: gods.c,v 1.56 2005/11/01 18:56:37 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* Weapon/armour use are special...handle flag toggles here as this can | | /* Weapon/armour use are special...handle flag toggles here as this can |
* only happen when gods are worshipped and if the new priest could | | * only happen when gods are worshipped and if the new priest could |
* have used armour/weapons in the first place */ | | * have used armour/weapons in the first place. |
| | * |
| | * This also can happen for monks which cannot use weapons. In this case |
| | * do not allow to use weapons even if the god otherwise would allow it. |
| | */ |
| | if (!present_in_ob_by_name(FORCE, "no weapon force", op)) |
update_priest_flag(new_god,skop,FLAG_USE_WEAPON); | | update_priest_flag(new_god,skop,FLAG_USE_WEAPON); |
update_priest_flag(new_god,skop,FLAG_USE_ARMOUR); | | update_priest_flag(new_god,skop,FLAG_USE_ARMOUR); |
| | |