変愚蛮怒のメインリポジトリです
Revision | a26fa49508fb53009cf45794e5118ba6f7916199 (tree) |
---|---|
Time | 2004-07-25 07:34:53 |
Author | nothere <nothere@0568...> |
Commiter | nothere |
アーチャーが作成した矢や弾がザックの最初に来る場合に自動銘刻みが行わ
れないバグを修正.
@@ -157,7 +157,7 @@ static bool do_cmd_archer(void) | ||
157 | 157 | #endif |
158 | 158 | |
159 | 159 | /* Auto-inscription */ |
160 | - if (slot > 0) autopick_alter_item(slot, FALSE); | |
160 | + if (slot >= 0) autopick_alter_item(slot, FALSE); | |
161 | 161 | |
162 | 162 | /* Destroy the wall */ |
163 | 163 | cave_alter_feat(y, x, FF_HURT_ROCK); |
@@ -231,7 +231,7 @@ static bool do_cmd_archer(void) | ||
231 | 231 | slot = inven_carry(q_ptr); |
232 | 232 | |
233 | 233 | /* Auto-inscription */ |
234 | - if (slot > 0) autopick_alter_item(slot, FALSE); | |
234 | + if (slot >= 0) autopick_alter_item(slot, FALSE); | |
235 | 235 | } |
236 | 236 | /**********Create bolts*********/ |
237 | 237 | else if (ext == 3) |
@@ -299,7 +299,7 @@ static bool do_cmd_archer(void) | ||
299 | 299 | slot = inven_carry(q_ptr); |
300 | 300 | |
301 | 301 | /* Auto-inscription */ |
302 | - if (slot > 0) autopick_alter_item(slot, FALSE); | |
302 | + if (slot >= 0) autopick_alter_item(slot, FALSE); | |
303 | 303 | } |
304 | 304 | return TRUE; |
305 | 305 | } |