1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00

Remove redundant check - groundcover is not present in the CellStore

This commit is contained in:
Andrei Kortunov 2021-01-12 11:23:36 +04:00
parent d12a0fdcb3
commit b975f16e6b

View File

@ -1,6 +1,5 @@
#include "cellpreloader.hpp"
#include <algorithm>
#include <atomic>
#include <limits>
@ -37,8 +36,6 @@ namespace MWWorld
virtual bool operator()(const MWWorld::Ptr& ptr)
{
if (ptr.getCellRef().getRefNum().fromGroundcoverFile()) return true;
ptr.getClass().getModelsToPreload(ptr, mOut);
return true;