OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1685e8a
)
[Fix] #38997 アイテムを落としてもザックからアイテムが減らない問題を修正 / Fixed the issue that number of items...
author
Hourier
<hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 03:09:40 +0000
(12:09 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 09:28:49 +0000
(18:28 +0900)
src/object2.c
patch
|
blob
|
history
diff --git
a/src/object2.c
b/src/object2.c
index
36e16f4
..
f226650
100644
(file)
--- a/
src/object2.c
+++ b/
src/object2.c
@@
-4601,7
+4601,7
@@
void inven_item_increase(player_type *owner_ptr, INVENTORY_IDX item, ITEM_NUMBER
num -= o_ptr->number;
/* Change the number and weight */
- if (num
!
= 0) return;
+ if (num
=
= 0) return;
/* Add the number */
o_ptr->number += num;