X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fcmd1.c;h=db721784d57d17d001fe4e19c0e0920cfe897ced;hb=b671cb37ac5d39eefaae604252557819a1d71a50;hp=a8c07d4ffcf21578dcfc94c432d2d84356661c07;hpb=e11d638b260e9641c3691822b55e8e54f9e96024;p=hengband%2Fhengband.git diff --git a/src/cmd1.c b/src/cmd1.c index a8c07d4ff..db721784d 100644 --- a/src/cmd1.c +++ b/src/cmd1.c @@ -386,8 +386,6 @@ static void discover_hidden_things(POSITION y, POSITION x) for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx) { object_type *o_ptr; - - /* Acquire object */ o_ptr = &o_list[this_o_idx]; /* Acquire next object */ @@ -558,8 +556,6 @@ void carry(bool pickup) p_ptr->redraw |= (PR_MAP); p_ptr->window |= (PW_OVERHEAD); - - /* Handle stuff */ handle_stuff(); /* Automatically pickup/destroy/inscribe items */ @@ -575,8 +571,6 @@ void carry(bool pickup) for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx) { object_type *o_ptr; - - /* Acquire object */ o_ptr = &o_list[this_o_idx]; #ifdef ALLOW_EASY_SENSE /* TNB */ @@ -899,8 +893,6 @@ bool move_player_effect(POSITION ny, POSITION nx, BIT_FLAGS mpe_mode) /* For get everything when requested hehe I'm *NASTY* */ if (dun_level && (d_info[dungeon_type].flags1 & DF1_FORGET)) wiz_dark(); - - /* Handle stuff */ if (mpe_mode & MPE_HANDLE_STUFF) handle_stuff(); if (p_ptr->pclass == CLASS_NINJA) @@ -1296,8 +1288,6 @@ void move_player(DIRECTION dir, bool do_pickup, bool break_trap) else if (MON_MONFEAR(riding_m_ptr)) { char steed_name[80]; - - /* Acquire the monster name */ monster_desc(steed_name, riding_m_ptr, 0); /* Dump a message */ @@ -1815,8 +1805,6 @@ static bool run_test(void) for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx) { object_type *o_ptr; - - /* Acquire object */ o_ptr = &o_list[this_o_idx]; /* Acquire next object */