summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 1fd6c62790..5db510fd8d 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -3131,7 +3131,7 @@ int _get_door_offset (int base_tile, bool opened = false,
return 0;
// The location of the default "closed" tile.
- int offset;
+ int offset = 0;
switch (count)
{