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.12 by elmex, Wed Dec 20 10:31:00 2006 UTC vs.
Revision 1.14 by root, Tue Dec 26 08:54:59 2006 UTC

31#include <global.h> 31#include <global.h>
32#include <living.h> 32#include <living.h>
33#include <object.h> 33#include <object.h>
34#include <spells.h> 34#include <spells.h>
35#include <sounds.h> 35#include <sounds.h>
36#ifndef __CEXTRACT__
37# include <sproto.h> 36#include <sproto.h>
38#endif
39 37
40/** 38/**
41 * Returns the id of specified god. 39 * Returns the id of specified god.
42 */ 40 */
43int 41int
965 for (i = 0; i < NUM_STATS; i++) 963 for (i = 0; i < NUM_STATS; i++)
966 if (get_attr_value (&depl->stats, i)) 964 if (get_attr_value (&depl->stats, i))
967 new_draw_info (NDI_UNIQUE, 0, op, restore_msg[i]); 965 new_draw_info (NDI_UNIQUE, 0, op, restore_msg[i]);
968 966
969 depl->destroy (); 967 depl->destroy ();
970 fix_player (op); 968 op->update_stats ();
971 return; 969 return;
972 } 970 }
973 971
974 /* Voices */ 972 /* Voices */
975 if (item->type == BOOK && item->invisible && strcmp (item->name, "voice_behind") == 0) 973 if (item->type == BOOK && item->invisible && strcmp (item->name, "voice_behind") == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines