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:
d3c1969
)
徳によるアライメントの計算のバグを修正。(kobayasiさん御報告)
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 2 Mar 2002 02:42:55 +0000
(
02:42
+0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 2 Mar 2002 02:42:55 +0000
(
02:42
+0000)
src/xtra1.c
patch
|
blob
|
history
diff --git
a/src/xtra1.c
b/src/xtra1.c
index
2d54b9c
..
2e7ef60
100644
(file)
--- a/
src/xtra1.c
+++ b/
src/xtra1.c
@@
-5461,12
+5461,12
@@
msg_print("
{
if (p_ptr->align > 0)
{
- p_ptr->align -= (p_ptr->virtues[
j
]/2);
+ p_ptr->align -= (p_ptr->virtues[
neutral[j]
]/2);
if (p_ptr->align < 0) p_ptr->align = 0;
}
else if (p_ptr->align < 0)
{
- p_ptr->align += (p_ptr->virtues[
j
]/2);
+ p_ptr->align += (p_ptr->virtues[
neutral[j]
]/2);
if (p_ptr->align > 0) p_ptr->align = 0;
}
j--;