summaryrefslogtreecommitdiff
path: root/src/hexen/p_spec.c
diff options
context:
space:
mode:
authorSimon Howard2010-05-03 18:23:15 +0000
committerSimon Howard2010-05-03 18:23:15 +0000
commit7a3249ce14ac528a5cdf9ca2d0a62535cf2bb1cd (patch)
tree49859219af3586a393d86c2c4c9c1c4ef915315e /src/hexen/p_spec.c
parentc37f757b57cbfd88d66aed1576412e311a503384 (diff)
downloadchocolate-doom-7a3249ce14ac528a5cdf9ca2d0a62535cf2bb1cd.tar.gz
chocolate-doom-7a3249ce14ac528a5cdf9ca2d0a62535cf2bb1cd.tar.bz2
chocolate-doom-7a3249ce14ac528a5cdf9ca2d0a62535cf2bb1cd.zip
Fix compiler warnings.
Subversion-branch: /branches/raven-branch Subversion-revision: 1934
Diffstat (limited to 'src/hexen/p_spec.c')
-rw-r--r--src/hexen/p_spec.c2
1 files changed, 2 insertions, 0 deletions
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];