mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
Prevent uninitialized access to hitwalls[] in clipmove()
git-svn-id: https://svn.eduke32.com/eduke32@7759 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
130649b017
commit
82c37b78cc
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int32_t hitwalls[4], hitwall;
|
int32_t hitwalls[4] = {}, hitwall;
|
||||||
int32_t clipReturn = 0;
|
int32_t clipReturn = 0;
|
||||||
|
|
||||||
native_t cnt = clipmoveboxtracenum;
|
native_t cnt = clipmoveboxtracenum;
|
||||||
|
|
Loading…
Reference in a new issue