patch投げ用
修訂 | b1db9f2d878b170b5bafb81146bfa4c0d2d52b31 (tree) |
---|---|
時間 | 2016-04-03 03:14:39 |
作者 | SHIRAKATA Kentaro <argrath@ub32...> |
Commiter | SHIRAKATA Kentaro |
fix #36224
@@ -3361,6 +3361,9 @@ xchar x, y; | ||
3361 | 3361 | shkmoney = money_cnt(shkp->minvent); |
3362 | 3362 | if (!shkmoney) { |
3363 | 3363 | char c, qbuf[BUFSZ]; |
3364 | +#if 1 /*JP*/ | |
3365 | + char qsfx[BUFSZ]; | |
3366 | +#endif | |
3364 | 3367 | long tmpcr = ((offer * 9L) / 10L) + (offer <= 1L); |
3365 | 3368 | |
3366 | 3369 | if (sell_how == SELL_NORMAL || auto_credit) { |
@@ -3376,9 +3379,9 @@ xchar x, y; | ||
3376 | 3379 | c = ynaq(safe_qbuf(qbuf, qbuf, "?", obj, doname, thesimpleoname, |
3377 | 3380 | (obj->quan == 1L) ? "that" : "those")); |
3378 | 3381 | #else |
3379 | - Sprintf(qbuf, "について%ld%sの預け金を受けいれますか?", tmpcr, | |
3382 | + Sprintf(qsfx, "について%ld%sの預け金を受けいれますか?", tmpcr, | |
3380 | 3383 | currency(tmpcr)); |
3381 | - c = ynaq(safe_qbuf(qbuf, "", qbuf, obj, doname, thesimpleoname, | |
3384 | + c = ynaq(safe_qbuf(qbuf, "", qsfx, obj, doname, thesimpleoname, | |
3382 | 3385 | "それ")); |
3383 | 3386 | #endif |
3384 | 3387 | if (c == 'a') { |