- added a 'restart' CCMD that allows restarting the engine with different WADs being loaded without quitting first
SVN r3042 (trunk)
This commit is contained in:
parent
772d59dff4
commit
b42952b85c
17 changed files with 418 additions and 233 deletions
|
|
@ -447,6 +447,7 @@ void InitPalette ()
|
|||
int lump;
|
||||
|
||||
atterm (FreeSpecialLights);
|
||||
FreeSpecialLights();
|
||||
|
||||
if ((lump = Wads.CheckNumForFullName ("palette.dat")) >= 0 && Wads.LumpLength (lump) >= 768)
|
||||
{
|
||||
|
|
@ -780,6 +781,7 @@ static void FreeSpecialLights()
|
|||
delete[] colormap->Maps;
|
||||
delete colormap;
|
||||
}
|
||||
NormalLight.Next = NULL;
|
||||
}
|
||||
|
||||
// Builds NUMCOLORMAPS colormaps lit with the specified color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue