From d33961f89a0c80f2fae4020184e72467b5c192cf Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 5 Oct 2016 18:45:08 +0200 Subject: Move race_info and race_mod_info to GameEditData --- src/variable.cc | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/variable.cc') diff --git a/src/variable.cc b/src/variable.cc index 30d07469..426d4b3a 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -422,8 +422,8 @@ player_type *p_ptr = nullptr; * Pointer to the player tables * (sex, race, race mod, class, magic) */ -player_race *rp_ptr; -player_race_mod *rmp_ptr; +player_race const *rp_ptr; +player_race_mod const *rmp_ptr; player_class const *cp_ptr; player_spec const *spp_ptr; @@ -487,16 +487,6 @@ skill_type *s_info; */ skill_descriptor *s_descriptors; -/* - * Player race arrays - */ -player_race *race_info; - -/* - * Player mod race arrays - */ -player_race_mod *race_mod_info; - /* * The wilderness features arrays */ @@ -679,12 +669,6 @@ u16b max_st_idx; */ u16b max_set_idx = 1; -/* - * Maximum number of players info in p_info.txt - */ -u16b max_rp_idx; -u16b max_rmp_idx; - /* * Maximum number of objects in the level */ -- cgit v1.2.1