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:
8b72ac8
)
[Fix] store.c の整形ミスを修正 / Resolved mistakes in store.c
author
Hourier
<hourier@users.sourceforge.jp>
Sun, 24 May 2020 06:34:54 +0000
(15:34 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sun, 24 May 2020 06:34:54 +0000
(15:34 +0900)
src/store/store.c
patch
|
blob
|
history
diff --git
a/src/store/store.c
b/src/store/store.c
index
f7b7d1c
..
5bd9c4d
100644
(file)
--- a/
src/store/store.c
+++ b/
src/store/store.c
@@
-851,6
+851,7
@@
static int get_haggle(concptr pmt, s32b *poffer, PRICE price, int final)
msg_print(_("値がおかしいです。", "Invalid response."));
msg_print(NULL);
+ continue;
}
s32b i = atol(p);
@@
-1022,6
+1023,8
@@
static bool purchase_haggle(player_type *player_ptr, object_type *o_ptr, s32b *p
*price = offer;
}
+ if (flag) continue;
+
last_offer = offer;
allow_inc = TRUE;
prt("", 1, 0);