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

Comparing deliantra/server/common/holy.C (file contents):
Revision 1.19 by root, Fri Nov 6 12:27:05 2009 UTC vs.
Revision 1.21 by root, Fri Nov 6 13:03:34 2009 UTC

29#include <global.h> 29#include <global.h>
30#include <living.h> 30#include <living.h>
31#include <spells.h> 31#include <spells.h>
32 32
33/* add_god_to_list()- called only from init_gods */ 33/* add_god_to_list()- called only from init_gods */
34void 34static void
35add_god_to_list (archetype *god_arch) 35add_god_to_list (archetype *god_arch)
36{ 36{
37 if (!god_arch) 37 if (!god_arch)
38 { 38 {
39 LOG (llevError, "ERROR: Tried to add null god to list!\n"); 39 LOG (llevError, "ERROR: Tried to add null god to list!\n");
68} 68}
69 69
70/* baptize_altar() - (cosmetically) change the name to that of the 70/* baptize_altar() - (cosmetically) change the name to that of the
71 * god in question, then set the title for later use. -b.t. 71 * god in question, then set the title for later use. -b.t.
72 */ 72 */
73int 73static int
74baptize_altar (object *op) 74baptize_altar (object *op)
75{ 75{
76 char buf[MAX_BUF]; 76 char buf[MAX_BUF];
77 77
78 /* if the title field is pre-set, then that altar is 78 /* if the title field is pre-set, then that altar is
125 return godlnk && godlnk->arch 125 return godlnk && godlnk->arch
126 ? godlnk->arch 126 ? godlnk->arch
127 : 0; 127 : 0;
128} 128}
129 129
130void 130static void
131free_all_god (void) 131free_all_god (void)
132{ 132{
133 godlink *god, *godnext; 133 godlink *god, *godnext;
134 134
135 LOG (llevDebug, "Freeing god information\n"); 135 LOG (llevDebug, "Freeing god information\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines