• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision8e2fd9668434dae5f05c16fd8fb1e237aa51feea (tree)
Time2019-03-14 15:03:19
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 コメント整理。 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/init1.c
+++ b/src/init1.c
@@ -3922,7 +3922,6 @@ static void drop_here(object_type *j_ptr, POSITION y, POSITION x)
39223922 /* Build a stack */
39233923 o_ptr->next_o_idx = g_ptr->o_idx;
39243924
3925- /* Place the object */
39263925 g_ptr->o_idx = o_idx;
39273926 }
39283927
--- a/src/load.c
+++ b/src/load.c
@@ -2878,7 +2878,6 @@ static errr rd_dungeon_old(void)
28782878 /* Build a stack */
28792879 o_ptr->next_o_idx = m_ptr->hold_o_idx;
28802880
2881- /* Place the object */
28822881 m_ptr->hold_o_idx = o_idx;
28832882 }
28842883
@@ -2891,7 +2890,6 @@ static errr rd_dungeon_old(void)
28912890 /* Build a stack */
28922891 o_ptr->next_o_idx = g_ptr->o_idx;
28932892
2894- /* Place the object */
28952893 g_ptr->o_idx = o_idx;
28962894 }
28972895 }
@@ -3192,7 +3190,6 @@ static errr rd_saved_floor(saved_floor_type *sf_ptr)
31923190 /* Build a stack */
31933191 o_ptr->next_o_idx = m_ptr->hold_o_idx;
31943192
3195- /* Place the object */
31963193 m_ptr->hold_o_idx = o_idx;
31973194 }
31983195
@@ -3205,7 +3202,6 @@ static errr rd_saved_floor(saved_floor_type *sf_ptr)
32053202 /* Build a stack */
32063203 o_ptr->next_o_idx = g_ptr->o_idx;
32073204
3208- /* Place the object */
32093205 g_ptr->o_idx = o_idx;
32103206 }
32113207 }
--- a/src/object2.c
+++ b/src/object2.c
@@ -4438,11 +4438,8 @@ void place_object(POSITION y, POSITION x, BIT_FLAGS mode)
44384438 /* Build a stack */
44394439 o_ptr->next_o_idx = g_ptr->o_idx;
44404440
4441- /* Place the object */
44424441 g_ptr->o_idx = o_idx;
4443-
44444442 note_spot(y, x);
4445-
44464443 lite_spot(y, x);
44474444 }
44484445 else
@@ -4552,11 +4549,8 @@ void place_gold(POSITION y, POSITION x)
45524549 /* Build a stack */
45534550 o_ptr->next_o_idx = g_ptr->o_idx;
45544551
4555- /* Place the object */
45564552 g_ptr->o_idx = o_idx;
4557-
45584553 note_spot(y, x);
4559-
45604554 lite_spot(y, x);
45614555 }
45624556 }
@@ -4876,7 +4870,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
48764870 /* Build a stack */
48774871 j_ptr->next_o_idx = g_ptr->o_idx;
48784872
4879- /* Place the object */
48804873 g_ptr->o_idx = o_idx;
48814874
48824875 /* Success */
Show on old repository browser