summaryrefslogtreecommitdiff
path: root/src/generate.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-26 21:54:47 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:42 +0200
commitb525c0b6164a46fcf358256bb693c71801569708 (patch)
tree4be59b0f463ca17a004c274cb8401a2950ff0235 /src/generate.c
parent27dfc9125b6fff1ec4dc869f6f644c45ec31d74f (diff)
Remove unnecessary casts
Diffstat (limited to 'src/generate.c')
-rw-r--r--src/generate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generate.c b/src/generate.c
index 652d2bee..b06129ab 100644
--- a/src/generate.c
+++ b/src/generate.c
@@ -1006,7 +1006,7 @@ static void place_random_door(int y, int x)
else
{
/* Create jammed door */
- cave_set_feat(y, x, FEAT_DOOR_HEAD + 0x08 + (byte)rand_int(8));
+ cave_set_feat(y, x, FEAT_DOOR_HEAD + 0x08 + rand_int(8));
}
}