mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Additional fix for the shareware version
git-svn-id: https://svn.eduke32.com/eduke32@4065 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
95cf4ec90b
commit
d5b6496ddb
1 changed files with 3 additions and 6 deletions
|
@ -1887,7 +1887,7 @@ int32_t G_EnterLevel(int32_t g)
|
|||
|
||||
G_SetupFilenameBasedMusic(levname, boardfilename, ud.m_level_number);
|
||||
}
|
||||
else if (loadboard(MapInfo[mii].filename,0, &g_player[0].ps->pos, &g_player[0].ps->ang,
|
||||
else if (loadboard(MapInfo[mii].filename, 0, &g_player[0].ps->pos, &g_player[0].ps->ang,
|
||||
&g_player[0].ps->cursectnum) < 0)
|
||||
{
|
||||
OSD_Printf(OSD_ERROR "Map \"%s\" not found or invalid map version!\n",
|
||||
|
@ -1903,10 +1903,7 @@ int32_t G_EnterLevel(int32_t g)
|
|||
}
|
||||
else
|
||||
{
|
||||
i = Bstrlen(MapInfo[mii].filename);
|
||||
Bmemcpy(levname, MapInfo[mii].filename, i);
|
||||
|
||||
if (loadboard(levname,1, &g_player[0].ps->pos, &g_player[0].ps->ang,
|
||||
if (loadboard(MapInfo[mii].filename, 1, &g_player[0].ps->pos, &g_player[0].ps->ang,
|
||||
&g_player[0].ps->cursectnum) < 0)
|
||||
{
|
||||
OSD_Printf(OSD_ERROR "Map \"%s\" not found or invalid map version!\n",
|
||||
|
@ -1917,7 +1914,7 @@ int32_t G_EnterLevel(int32_t g)
|
|||
}
|
||||
else
|
||||
{
|
||||
G_LoadMapHack(levname, NULL);
|
||||
G_LoadMapHack(levname, MapInfo[mii].filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue