mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-31 10:40:33 +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
|
// Building nodes in debug is much slower so let's cache them only if cachetime is 0
|
||||||
buildtime = 0;
|
buildtime = 0;
|
||||||
#endif
|
#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");
|
DPrintf("Caching nodes\n");
|
||||||
CreateCachedNodes(map);
|
CreateCachedNodes(map);
|
||||||
|
|
Loading…
Reference in a new issue