- fixed: debug assertion failure in texture precaching

loading of level from command line attempted to use uninitialized time value
This commit is contained in:
alexey.lysiuk 2015-12-24 10:32:19 +02:00
parent c8810db5fe
commit 571f7a4eb6

View file

@ -1239,7 +1239,7 @@ void FTextureManager::PrecacheLevel (void)
if (demoplayback)
return;
precacheTime = I_MSTime();
precacheTime = I_FPSTime();
hitlist = new BYTE[cnt];
memset (hitlist, 0, cnt);