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:
bf87c76
)
[Fix] #37353 wild.cの型の置換による警告修正。 / Fix warning for type replacement in wild.c.
author
Deskull
<deskull@users.sourceforge.jp>
Tue, 5 Feb 2019 04:22:22 +0000
(13:22 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Tue, 5 Feb 2019 04:22:22 +0000
(13:22 +0900)
src/wild.c
patch
|
blob
|
history
diff --git
a/src/wild.c
b/src/wild.c
index
68ebe46
..
ea20238
100644
(file)
--- a/
src/wild.c
+++ b/
src/wild.c
@@
-156,7
+156,7
@@
static void perturb_point_end(FEAT_IDX x1, FEAT_IDX x2, FEAT_IDX x3, POSITION xm
* need to be converted to features.
* </pre>
*/
* need to be converted to features.
* </pre>
*/
-static void plasma_recursive(POSITION x1, POSITION y1, POSITION x2, POSITION y2,
POSITION depth_max, POSITION
rough)
+static void plasma_recursive(POSITION x1, POSITION y1, POSITION x2, POSITION y2,
FEAT_IDX depth_max, FEAT_IDX
rough)
{
/* Find middle */
POSITION xmid = (x2 - x1) / 2 + x1;
{
/* Find middle */
POSITION xmid = (x2 - x1) / 2 + x1;
@@
-208,7
+208,7
@@
static void generate_wilderness_area(int terrain, u32b seed, bool border, bool c
{
POSITION x1, y1;
int table_size = sizeof(terrain_table[0]) / sizeof(s16b);
{
POSITION x1, y1;
int table_size = sizeof(terrain_table[0]) / sizeof(s16b);
-
int
roughness = 1; /* The roughness of the level. */
+
FEAT_IDX
roughness = 1; /* The roughness of the level. */
u32b state_backup[4];
/* Unused */
u32b state_backup[4];
/* Unused */