Fix shareware version breakage introduced in r3913

git-svn-id: https://svn.eduke32.com/eduke32@4064 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2013-09-15 16:00:55 +00:00
parent b16c929170
commit 95cf4ec90b

View file

@ -1905,8 +1905,6 @@ int32_t G_EnterLevel(int32_t g)
{ {
i = Bstrlen(MapInfo[mii].filename); i = Bstrlen(MapInfo[mii].filename);
Bmemcpy(levname, MapInfo[mii].filename, i); Bmemcpy(levname, MapInfo[mii].filename, i);
levname[i] = 255; // leads to flags=1 for kopen4load
levname[i+1] = 0;
if (loadboard(levname,1, &g_player[0].ps->pos, &g_player[0].ps->ang, if (loadboard(levname,1, &g_player[0].ps->pos, &g_player[0].ps->ang,
&g_player[0].ps->cursectnum) < 0) &g_player[0].ps->cursectnum) < 0)