--- deliantra/server/common/exp.C 2010/04/15 04:56:46 1.30 +++ deliantra/server/common/exp.C 2010/04/15 21:49:15 1.32 @@ -27,7 +27,7 @@ sint64 levels[MAXNUMLEVELS]; -static float exp_att_mult[NROFATTACKS + 2] = { +static const float exp_att_mult[NROFATTACKS + 2] = { 0.0, /* AT_PHYSICAL */ 0.0, /* AT_MAGIC */ 0.0, /* AT_FIRE */ @@ -50,7 +50,7 @@ 0.0 /* AT_COUNTERSPELL */ }; -static float exp_prot_mult[NROFATTACKS + 2] = { +static const float exp_prot_mult[NROFATTACKS + 2] = { 0.4, /* AT_PHYSICAL */ 0.5, /* AT_MAGIC */ 0.1, /* AT_FIRE */ @@ -181,7 +181,7 @@ if (thawer.kw != KW_max_level) { - thawer.parse_error ("experience table file", "max_level"); + thawer.parse_error ("experience table file"); return; }