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
/
floor-streams.c
diff --git
a/src/floor-streams.c
b/src/floor-streams.c
index
adeb09c
..
597cc22
100644
(file)
--- a/
src/floor-streams.c
+++ b/
src/floor-streams.c
@@
-271,7
+271,7
@@
void build_streamer(player_type *player_ptr, FEAT_IDX feat, int chance)
int d = DUN_STR_RNG;
/* Pick a nearby grid */
- while (
1
)
+ while (
TRUE
)
{
ty = rand_spread(y, d);
tx = rand_spread(x, d);