|
From: <cro...@li...> - 2003-03-09 00:52:55
|
Module Name: crossfire
Committed By: mwedel
Date: Sun Mar 9 00:52:54 UTC 2003
Modified Files:
crossfire/server: resurrection.c
Log Message:
Forgot to update the type to 64 bit value for resurrection code.
MSW 2003-03-08
Start of context diffs
Index: crossfire/server/resurrection.c
diff -c crossfire/server/resurrection.c:1.9 crossfire/server/resurrection.c:1.10
*** crossfire/server/resurrection.c:1.9 Sat Mar 8 16:44:12 2003
--- crossfire/server/resurrection.c Sat Mar 8 16:52:54 2003
***************
*** 1,6 ****
/*
* static char *rcsid_resurrection_c =
! * "$Id: resurrection.c,v 1.9 2003/03/09 00:44:12 mwedel Exp $";
*/
/*
--- 1,6 ----
/*
* static char *rcsid_resurrection_c =
! * "$Id: resurrection.c,v 1.10 2003/03/09 00:52:54 mwedel Exp $";
*/
/*
***************
*** 189,195 ****
static char *races[]= { "barbarian","cleric", "elf","human","mage","ninja","priest",
"swashbuckler","thief","viking","warrior","wizard" };
! long int exp;
int Con;
/* set up our paths/strings... */
--- 189,195 ----
static char *races[]= { "barbarian","cleric", "elf","human","mage","ninja","priest",
"swashbuckler","thief","viking","warrior","wizard" };
! sint64 exp;
int Con;
/* set up our paths/strings... */
***************
*** 228,234 ****
{ fgets(buf,255,deadplayer);
sscanf(buf,"%s",buf2);
if( ! (strcmp(buf2,"exp"))) {
! sscanf(buf,"%s %ld",buf2,&exp);
switch(rspell) {
case SP_RAISE_DEAD:
exp-=exp/5;
--- 228,234 ----
{ fgets(buf,255,deadplayer);
sscanf(buf,"%s",buf2);
if( ! (strcmp(buf2,"exp"))) {
! sscanf(buf,"%s %lld",buf2,&exp);
switch(rspell) {
case SP_RAISE_DEAD:
exp-=exp/5;
|