mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed compile errors in last commit.
This commit is contained in:
parent
454f553ea4
commit
7f7be9e393
1 changed files with 3 additions and 2 deletions
|
@ -52,6 +52,7 @@
|
||||||
#include "p_tags.h"
|
#include "p_tags.h"
|
||||||
#include "r_state.h"
|
#include "r_state.h"
|
||||||
#include "w_wad.h"
|
#include "w_wad.h"
|
||||||
|
#include "textures.h"
|
||||||
#include "g_levellocals.h"
|
#include "g_levellocals.h"
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
@ -621,9 +622,9 @@ void SetCompatibilityParams()
|
||||||
}
|
}
|
||||||
case CP_SETWALLTEXTURE:
|
case CP_SETWALLTEXTURE:
|
||||||
{
|
{
|
||||||
if (CompatParams[i + 1] < numlines)
|
if ((unsigned)CompatParams[i + 1] < level.lines.Size())
|
||||||
{
|
{
|
||||||
side_t *side = lines[CompatParams[i + 1]].sidedef[CompatParams[i + 2]];
|
side_t *side = level.lines[CompatParams[i + 1]].sidedef[CompatParams[i + 2]];
|
||||||
if (side != NULL)
|
if (side != NULL)
|
||||||
{
|
{
|
||||||
assert(TexNames.Size() > (unsigned int)CompatParams[i + 4]);
|
assert(TexNames.Size() > (unsigned int)CompatParams[i + 4]);
|
||||||
|
|
Loading…
Reference in a new issue