From 7a3249ce14ac528a5cdf9ca2d0a62535cf2bb1cd Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 3 May 2010 18:23:15 +0000 Subject: Fix compiler warnings. Subversion-branch: /branches/raven-branch Subversion-revision: 1934 --- src/hexen/p_spec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/hexen/p_spec.c') diff --git a/src/hexen/p_spec.c b/src/hexen/p_spec.c index ca0bbfb8..03c98cbc 100644 --- a/src/hexen/p_spec.c +++ b/src/hexen/p_spec.c @@ -245,6 +245,8 @@ fixed_t P_FindNextHighestFloor(sector_t * sec, int currentheight) fixed_t height = currentheight; fixed_t heightlist[20]; // 20 adjoining sectors max! + heightlist[0] = 0; + for (i = 0, h = 0; i < sec->linecount; i++) { check = sec->lines[i]; -- cgit v1.2.3