--- deliantra/server/include/spells.h 2006/02/03 07:12:51 1.1 +++ deliantra/server/include/spells.h 2006/09/16 22:06:17 1.5 @@ -1,9 +1,4 @@ /* - * static char *rcsid_spells_h = - * "$Id$"; - */ - -/* CrossFire, A Multiplayer game for X-windows Copyright (C) 2002-2003 Mark Wedel & Crossfire Development Team @@ -52,10 +47,10 @@ #define PATH_LIGHT 0x00080000 /* 524288 */ #define PATH_SP_MULT(op,spell) (((op->path_attuned & spell->path_attuned) ? 0.8 : 1) * \ - ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) + ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) #define NRSPELLPATHS 20 -extern char *spellpathnames[NRSPELLPATHS]; +extern const char* const spellpathnames[NRSPELLPATHS]; /* The only place this is really used is to allocate an array * when printing out the spells the player knows. @@ -141,7 +136,7 @@ #define FORCE_CHANGE_ABILITY 2 #define PATH_TIME_MULT(op,spell) (((op->path_attuned & spell->path_attuned) ? 0.8 : 1) * \ - ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) + ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) /* These are some hard coded values that are used within the code * for spell failure effects or pieces of spells. Rather