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:
parent
d12a0fdcb3
commit
b975f16e6b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user