OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #38997 'while (1)' を 'while (TRUE)' に変更 / Changed 'while (1)' to 'while...
[hengband/hengband.git]
/
src
/
trap.c
diff --git
a/src/trap.c
b/src/trap.c
index
2a653af
..
590f4db
100644
(file)
--- a/
src/trap.c
+++ b/
src/trap.c
@@
-149,7
+149,7
@@
FEAT_IDX choose_random_trap(floor_type *floor_ptr)
FEAT_IDX feat;
/* Pick a trap */
- while (
1
)
+ while (
TRUE
)
{
/* Hack -- pick a trap */
feat = normal_traps[randint0(MAX_NORMAL_TRAPS)];