mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Never cache nodes for Build maps
This commit is contained in:
parent
00854dd09e
commit
d602b272b5
1 changed files with 1 additions and 1 deletions
|
@ -1014,7 +1014,7 @@ bool P_CheckNodes(MapData * map, bool rebuilt, int buildtime)
|
|||
// Building nodes in debug is much slower so let's cache them only if cachetime is 0
|
||||
buildtime = 0;
|
||||
#endif
|
||||
if (gl_cachenodes && buildtime/1000.f >= gl_cachetime)
|
||||
if (level.maptype != MAPTYPE_BUILD && gl_cachenodes && buildtime/1000.f >= gl_cachetime)
|
||||
{
|
||||
DPrintf("Caching nodes\n");
|
||||
CreateCachedNodes(map);
|
||||
|
|
Loading…
Reference in a new issue