mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- missed one texture name field in level_info_t.
This commit is contained in:
parent
a22670626c
commit
ebd6c18bef
3 changed files with 5 additions and 5 deletions
|
@ -656,7 +656,7 @@ void G_DoCompleted (void)
|
|||
AM_Stop ();
|
||||
|
||||
wminfo.finished_ep = level.cluster - 1;
|
||||
wminfo.LName0 = TexMan[TexMan.CheckForTexture(level.info->pname, FTexture::TEX_MiscPatch)];
|
||||
wminfo.LName0 = TexMan[TexMan.CheckForTexture(level.info->PName, FTexture::TEX_MiscPatch)];
|
||||
wminfo.current = level.mapname;
|
||||
|
||||
if (deathmatch &&
|
||||
|
@ -677,7 +677,7 @@ void G_DoCompleted (void)
|
|||
else
|
||||
{
|
||||
wminfo.next = nextinfo->mapname;
|
||||
wminfo.LName1 = TexMan[TexMan.CheckForTexture(nextinfo->pname, FTexture::TEX_MiscPatch)];
|
||||
wminfo.LName1 = TexMan[TexMan.CheckForTexture(nextinfo->PName, FTexture::TEX_MiscPatch)];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -270,9 +270,9 @@ struct level_info_t
|
|||
int levelnum;
|
||||
|
||||
char mapname[9];
|
||||
char pname[9];
|
||||
char nextmap[11];
|
||||
char secretmap[11];
|
||||
FString PName;
|
||||
FString SkyPic1;
|
||||
FString SkyPic2;
|
||||
FString FadeTable;
|
||||
|
|
|
@ -227,7 +227,7 @@ void level_info_t::Reset()
|
|||
mapname[0] = 0;
|
||||
MapBackground = "";
|
||||
levelnum = 0;
|
||||
pname[0] = 0;
|
||||
PName = "";
|
||||
nextmap[0] = 0;
|
||||
secretmap[0] = 0;
|
||||
SkyPic1 = SkyPic2 = "-NOFLAT-";
|
||||
|
@ -898,7 +898,7 @@ DEFINE_MAP_OPTION(outsidefog, true)
|
|||
DEFINE_MAP_OPTION(titlepatch, true)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.ParseLumpOrTextureName(info->pname);
|
||||
parse.ParseLumpOrTextureName(info->PName);
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(partime, true)
|
||||
|
|
Loading…
Reference in a new issue