ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/gods.C
(Generate patch)

Comparing deliantra/server/server/gods.C (file contents):
Revision 1.10 by root, Tue Dec 12 21:39:57 2006 UTC vs.
Revision 1.11 by root, Wed Dec 13 03:28:42 2006 UTC

1164 1164
1165 /* if caster is a rune or the like, it doesn't worship anything. However, 1165 /* if caster is a rune or the like, it doesn't worship anything. However,
1166 * if this object is owned by someone, then the god that they worship 1166 * if this object is owned by someone, then the god that they worship
1167 * is relevant, so use that. 1167 * is relevant, so use that.
1168 */ 1168 */
1169 if (!god && get_owner (caster)) 1169 if (!god && caster->owner)
1170 god = find_god (determine_god (get_owner (caster))); 1170 god = find_god (determine_god (caster->owner));
1171 1171
1172 if (!god || (spellop->attacktype & AT_HOLYWORD && !god->race)) 1172 if (!god || (spellop->attacktype & AT_HOLYWORD && !god->race))
1173 { 1173 {
1174 if (!caster_is_spell) 1174 if (!caster_is_spell)
1175 new_draw_info (NDI_UNIQUE, 0, caster, "This prayer is useless unless you worship an appropriate god"); 1175 new_draw_info (NDI_UNIQUE, 0, caster, "This prayer is useless unless you worship an appropriate god");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines