• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisiona26fa49508fb53009cf45794e5118ba6f7916199 (tree)
Time2004-07-25 07:34:53
Authornothere <nothere@0568...>
Commiternothere

Log Message

アーチャーが作成した矢や弾がザックの最初に来る場合に自動銘刻みが行わ
れないバグを修正.

Change Summary

Incremental Difference

--- a/src/racial.c
+++ b/src/racial.c
@@ -157,7 +157,7 @@ static bool do_cmd_archer(void)
157157 #endif
158158
159159 /* Auto-inscription */
160- if (slot > 0) autopick_alter_item(slot, FALSE);
160+ if (slot >= 0) autopick_alter_item(slot, FALSE);
161161
162162 /* Destroy the wall */
163163 cave_alter_feat(y, x, FF_HURT_ROCK);
@@ -231,7 +231,7 @@ static bool do_cmd_archer(void)
231231 slot = inven_carry(q_ptr);
232232
233233 /* Auto-inscription */
234- if (slot > 0) autopick_alter_item(slot, FALSE);
234+ if (slot >= 0) autopick_alter_item(slot, FALSE);
235235 }
236236 /**********Create bolts*********/
237237 else if (ext == 3)
@@ -299,7 +299,7 @@ static bool do_cmd_archer(void)
299299 slot = inven_carry(q_ptr);
300300
301301 /* Auto-inscription */
302- if (slot > 0) autopick_alter_item(slot, FALSE);
302+ if (slot >= 0) autopick_alter_item(slot, FALSE);
303303 }
304304 return TRUE;
305305 }
Show on old repository browser