summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-07 03:42:40 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-07 03:42:40 -0800
commitcbcaadf4ed24d890378126c97b1a7ae7da907b72 (patch)
treee6c04fe9d5053b9a9abb3762fb03d3106dc714cc /crawl-ref/source/los.cc
parent10af6d0aea7f5581ea0bf4f6eeaaca4684bbfd15 (diff)
downloadcrawl-ref-cbcaadf4ed24d890378126c97b1a7ae7da907b72.tar.gz
crawl-ref-cbcaadf4ed24d890378126c97b1a7ae7da907b72.zip
los.cc: Get rid of uninitialized warning
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 98b9169d36..a6d33791e3 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -160,7 +160,7 @@ struct los_ray : public ray_def
unsigned int length;
los_ray(geom::ray _r)
- : ray_def(_r), length(0)
+ : ray_def(_r), start(-1), length(0)
{
}