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:
767e20c
)
[Fix] さらに has_see_nocto() の抜けをさらに修正. / Fix player-status-flags.c again at has_see_noc...
author
deskull
<deskull@users.sourceforge.jp>
Wed, 24 Feb 2021 09:55:23 +0000
(18:55 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Wed, 24 Feb 2021 09:55:23 +0000
(18:55 +0900)
src/player/player-status-flags.c
patch
|
blob
|
history
diff --git
a/src/player/player-status-flags.c
b/src/player/player-status-flags.c
index
0d61858
..
0decfa0
100644
(file)
--- a/
src/player/player-status-flags.c
+++ b/
src/player/player-status-flags.c
@@
-352,7
+352,7
@@
BIT_FLAGS has_reflect(player_type *creature_ptr)
return result;
}
-BIT_FLAGS has_see_nocto(player_type *creature_ptr) { return creature_ptr->pclass == CLASS_NINJA ?
FLAG_CAUSE_CLASS
: 0L; }
+BIT_FLAGS has_see_nocto(player_type *creature_ptr) { return creature_ptr->pclass == CLASS_NINJA ?
(0x01U << FLAG_CAUSE_CLASS)
: 0L; }
BIT_FLAGS has_warning(player_type *creature_ptr)
{