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

Comparing deliantra/server/server/resurrection.C (file contents):
Revision 1.13 by root, Wed Dec 20 09:14:22 2006 UTC vs.
Revision 1.14 by root, Tue Dec 26 08:55:00 2006 UTC

23 23
24/* the contents of this file were create solely by peterm@soda.berkeley.edu 24/* the contents of this file were create solely by peterm@soda.berkeley.edu
25 all of the above disclaimers apply. */ 25 all of the above disclaimers apply. */
26 26
27#include <global.h> 27#include <global.h>
28#ifndef __CEXTRACT__
29# include <sproto.h> 28#include <sproto.h>
30#endif
31#include <spells.h> 29#include <spells.h>
32#include <errno.h> 30#include <errno.h>
33#ifdef sequent
34 31
35/* stoopid sequent includes don't do this like they should */
36extern char *sys_errlist[];
37extern int sys_nerr;
38#endif
39extern char **classname; 32extern char **classname;
40extern object *objects; 33extern object *objects;
41
42
43 34
44/* name of the person to resurrect and which spell was used 35/* name of the person to resurrect and which spell was used
45 * to resurrect 36 * to resurrect
46 */ 37 */
47static int 38static int
55 char buf[MAX_BUF]; 46 char buf[MAX_BUF];
56 char buf2[MAX_BUF]; 47 char buf2[MAX_BUF];
57 const char *race = NULL; 48 const char *race = NULL;
58 sint64 exp; 49 sint64 exp;
59 int Con; 50 int Con;
60
61 51
62 /* reincarnation, which changes the race */ 52 /* reincarnation, which changes the race */
63 if (spell->race) 53 if (spell->race)
64 { 54 {
65 treasurelist *tl = find_treasurelist (spell->race); 55 treasurelist *tl = find_treasurelist (spell->race);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines