変愚蛮怒のメインリポジトリです
Revision | 5417fa86ab6684476c90b0a12773e453604ab454 (tree) |
---|---|
Time | 2019-03-08 22:16:58 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 コメント整理。 / Refactor comments.
@@ -2869,12 +2869,9 @@ static errr rd_dungeon_old(void) | ||
2869 | 2869 | |
2870 | 2870 | /* XXX XXX */ |
2871 | 2871 | |
2872 | - /* Monster */ | |
2873 | 2872 | if (o_ptr->held_m_idx) |
2874 | 2873 | { |
2875 | 2874 | monster_type *m_ptr; |
2876 | - | |
2877 | - /* Monster */ | |
2878 | 2875 | m_ptr = ¤t_floor_ptr->m_list[o_ptr->held_m_idx]; |
2879 | 2876 | |
2880 | 2877 | /* Build a stack */ |
@@ -3186,13 +3183,9 @@ static errr rd_saved_floor(saved_floor_type *sf_ptr) | ||
3186 | 3183 | /* Read the item */ |
3187 | 3184 | rd_item(o_ptr); |
3188 | 3185 | |
3189 | - | |
3190 | - /* Monster */ | |
3191 | 3186 | if (o_ptr->held_m_idx) |
3192 | 3187 | { |
3193 | 3188 | monster_type *m_ptr; |
3194 | - | |
3195 | - /* Monster */ | |
3196 | 3189 | m_ptr = ¤t_floor_ptr->m_list[o_ptr->held_m_idx]; |
3197 | 3190 | |
3198 | 3191 | /* Build a stack */ |
@@ -73,12 +73,9 @@ void excise_object_idx(OBJECT_IDX o_idx) | ||
73 | 73 | /* Object */ |
74 | 74 | j_ptr = ¤t_floor_ptr->o_list[o_idx]; |
75 | 75 | |
76 | - /* Monster */ | |
77 | 76 | if (j_ptr->held_m_idx) |
78 | 77 | { |
79 | 78 | monster_type *m_ptr; |
80 | - | |
81 | - /* Monster */ | |
82 | 79 | m_ptr = ¤t_floor_ptr->m_list[j_ptr->held_m_idx]; |
83 | 80 | |
84 | 81 | /* Scan all objects in the grid */ |
@@ -276,7 +273,6 @@ static void compact_objects_aux(OBJECT_IDX i1, OBJECT_IDX i2) | ||
276 | 273 | } |
277 | 274 | o_ptr = ¤t_floor_ptr->o_list[i1]; |
278 | 275 | |
279 | - /* Monster */ | |
280 | 276 | if (o_ptr->held_m_idx) |
281 | 277 | { |
282 | 278 | monster_type *m_ptr; |
@@ -373,7 +369,6 @@ void compact_objects(int size) | ||
373 | 369 | /* Hack -- High level objects start out "immune" */ |
374 | 370 | if (k_info[o_ptr->k_idx].level > cur_lev) continue; |
375 | 371 | |
376 | - /* Monster */ | |
377 | 372 | if (o_ptr->held_m_idx) |
378 | 373 | { |
379 | 374 | monster_type *m_ptr; |
@@ -468,12 +463,9 @@ void wipe_o_list(void) | ||
468 | 463 | } |
469 | 464 | } |
470 | 465 | |
471 | - /* Monster */ | |
472 | 466 | if (o_ptr->held_m_idx) |
473 | 467 | { |
474 | 468 | monster_type *m_ptr; |
475 | - | |
476 | - /* Monster */ | |
477 | 469 | m_ptr = ¤t_floor_ptr->m_list[o_ptr->held_m_idx]; |
478 | 470 | |
479 | 471 | /* Hack -- see above */ |
@@ -1426,7 +1426,6 @@ void fill_treasure(POSITION x1, POSITION x2, POSITION y1, POSITION y2, int diffi | ||
1426 | 1426 | } |
1427 | 1427 | else if (value < 10) |
1428 | 1428 | { |
1429 | - /* Monster */ | |
1430 | 1429 | current_floor_ptr->monster_level = current_floor_ptr->base_level + 9; |
1431 | 1430 | place_monster(y, x, (PM_ALLOW_SLEEP | PM_ALLOW_GROUP)); |
1432 | 1431 | current_floor_ptr->monster_level = current_floor_ptr->base_level; |
@@ -169,7 +169,6 @@ void display_snipe_list(void) | ||
169 | 169 | put_str(_("名前", "Name"), y, x + 5); |
170 | 170 | put_str(_("Lv MP", "Lv Mana"), y, x + 35); |
171 | 171 | |
172 | - /* Dump the spells */ | |
173 | 172 | for (i = 0; i < MAX_SNIPE_POWERS; i++) |
174 | 173 | { |
175 | 174 | /* Access the available spell */ |
@@ -177,7 +176,6 @@ void display_snipe_list(void) | ||
177 | 176 | if (spell.min_lev > plev) continue; |
178 | 177 | if (spell.mana_cost > (int)p_ptr->concent) continue; |
179 | 178 | |
180 | - /* Dump the spell */ | |
181 | 179 | sprintf(psi_desc, " %c) %-30s%2d %4d", |
182 | 180 | I2A(i), spell.name, spell.min_lev, spell.mana_cost); |
183 | 181 |