--- deliantra/server/common/exp.C 2009/11/06 12:27:05 1.21 +++ deliantra/server/common/exp.C 2009/11/06 13:03:34 1.23 @@ -27,7 +27,7 @@ sint64 *levels; -float exp_att_mult[NROFATTACKS + 2] = { +static 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 */ }; -float exp_prot_mult[NROFATTACKS + 2] = { +static float exp_prot_mult[NROFATTACKS + 2] = { 0.4, /* AT_PHYSICAL */ 0.5, /* AT_MAGIC */ 0.1, /* AT_FIRE */ @@ -76,7 +76,7 @@ /* * Returns true if the monster specified has any innate abilities. */ -int +static int has_ability (const object *ob) { object *tmp;