OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2581fef
)
[Fix] #41061 clangの警告修正ミスに対応. / Respond to clang warning correction mistakes.
author
deskull
<deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 10:36:12 +0000
(19:36 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 10:36:12 +0000
(19:36 +0900)
src/floor/wild.c
patch
|
blob
|
history
diff --git
a/src/floor/wild.c
b/src/floor/wild.c
index
0611c4f
..
c546a42
100644
(file)
--- a/
src/floor/wild.c
+++ b/
src/floor/wild.c
@@
-353,7
+353,7
@@
static void generate_area(player_type *player_ptr, POSITION y, POSITION x, bool
}
bool is_winner = wilderness[y][x].entrance > 0;
- is_winner &= (
!wilderness[y][x].town !
= 0);
+ is_winner &= (
wilderness[y][x].town =
= 0);
bool is_wild_winner = (d_info[wilderness[y][x].entrance].flags1 & DF1_WINNER) == 0;
is_winner &= ((current_world_ptr->total_winner != 0) || is_wild_winner);
if (!is_winner)