- some Transfer_Heights related optimizations.
* only call hw_CheckViewArea if the result is not known yet. * check the map up front if it even contains heightsecs. This allows to shortcut the above check entirely for maps without sector transfers and will allow further optimizations.
This commit is contained in:
parent
b35213741f
commit
3c49804c6c
7 changed files with 12 additions and 7 deletions
|
|
@ -1483,6 +1483,7 @@ void G_InitLevelLocals ()
|
|||
level.Music = info->Music;
|
||||
level.musicorder = info->musicorder;
|
||||
level.MusicVolume = 1.f;
|
||||
level.HasHeightSecs = false;
|
||||
|
||||
level.LevelName = level.info->LookupLevelName();
|
||||
level.NextMap = info->NextMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue