OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f6a0e
)
消費MPのバグ、大文字のアルファベットで入力したときの表示にバグが残って
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 15 Jun 2002 23:00:59 +0000
(23:00 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 15 Jun 2002 23:00:59 +0000
(23:00 +0000)
いたので修正。
src/cmd5.c
patch
|
blob
|
history
diff --git
a/src/cmd5.c
b/src/cmd5.c
index
524b1b1
..
4eb658b
100644
(file)
--- a/
src/cmd5.c
+++ b/
src/cmd5.c
@@
-288,7
+288,7
@@
static int get_spell(int *sn, cptr prompt, int sval, bool learned, int use_realm
else
{
/* Extract mana consumption rate */
- shouhimana = s_ptr->smana*(3800 - experience_of_spell(spell, use_realm)) + 2399;
+ shouhimana = s_ptr->smana*(3800 - experience_of_spell(spell, use_realm
-1
)) + 2399;
if(p_ptr->dec_mana)
shouhimana *= 3;
else shouhimana *= 4;