mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Polymer: Fix a potential uninitialized mem read in debug msg when in void space.
git-svn-id: https://svn.eduke32.com/eduke32@2565 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a7ec51e375
commit
994bdd4759
1 changed files with 6 additions and 1 deletions
|
@ -1036,7 +1036,12 @@ void polymer_drawrooms(int32_t daposx, int32_t daposy, int32_t da
|
|||
(daposz < cursectceilz))
|
||||
{
|
||||
if (!editstatus && pr_verbosity>=1)
|
||||
{
|
||||
if ((unsigned)dacursectnum < (unsigned)numsectors)
|
||||
OSD_Printf("PR : EXT sec=%d z=%d (%d, %d)\n", dacursectnum, daposz, cursectflorz, cursectceilz);
|
||||
else
|
||||
OSD_Printf("PR : EXT sec=%d z=%d", dacursectnum, daposz);
|
||||
}
|
||||
|
||||
curmodelviewmatrix = rootmodelviewmatrix;
|
||||
i = numsectors-1;
|
||||
|
|
Loading…
Reference in a new issue