Commit 3ccb932f authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: fix uninitialized data use

parent 87c5eadd
......@@ -1566,7 +1566,7 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int
}
#endif
int32_t hitwalls[4], hitwall;
int32_t hitwalls[4] = {}, hitwall;
int32_t clipReturn = 0;
native_t cnt = clipmoveboxtracenum;
......
......@@ -1089,7 +1089,7 @@ void polymer_fillpolygon(int32_t npoints)
void polymer_drawrooms(int32_t daposx, int32_t daposy, int32_t daposz, fix16_t daang, fix16_t dahoriz, int16_t dacursectnum)
{
int16_t cursectnum;
int32_t i, cursectflorz, cursectceilz;
int32_t i, cursectflorz=0, cursectceilz=0;
float skyhoriz, ang, tiltang;
float pos[3];
pthtyp* pth;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment