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:
5268deb
)
[Refactor] #38997 player-effects.c 内変数参照修正 / Fix variable references in player-effects.c
author
Hourier
<hourier@users.sourceforge.jp>
Thu, 9 Jan 2020 11:37:43 +0000
(20:37 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Thu, 9 Jan 2020 11:37:43 +0000
(20:37 +0900)
src/player-effects.c
patch
|
blob
|
history
diff --git
a/src/player-effects.c
b/src/player-effects.c
index
2853f1c
..
6d3fc79
100644
(file)
--- a/
src/player-effects.c
+++ b/
src/player-effects.c
@@
-1640,7
+1640,7
@@
bool set_superstealth(player_type *creature_ptr, bool set)
{
if (!(creature_ptr->special_defense & NINJA_S_STEALTH))
{
- if (
p
_ptr->current_floor_ptr->grid_array[creature_ptr->y][creature_ptr->x].info & CAVE_MNLT)
+ if (
creature
_ptr->current_floor_ptr->grid_array[creature_ptr->y][creature_ptr->x].info & CAVE_MNLT)
{
msg_print(_("敵の目から薄い影の中に覆い隠された。", "You are mantled in weak shadow from ordinary eyes."));
creature_ptr->monlite = creature_ptr->old_monlite = TRUE;