OSDN Git Service

[Refactor] #38997 'while (1)' を 'while (TRUE)' に変更 / Changed 'while (1)' to 'while...
[hengband/hengband.git] / src / trap.c
index 2a653af..590f4db 100644 (file)
@@ -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)];