mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-18 08:56:10 -04: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 "cellpreloader.hpp"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
@ -37,8 +36,6 @@ namespace MWWorld
|
|||||||
|
|
||||||
virtual bool operator()(const MWWorld::Ptr& ptr)
|
virtual bool operator()(const MWWorld::Ptr& ptr)
|
||||||
{
|
{
|
||||||
if (ptr.getCellRef().getRefNum().fromGroundcoverFile()) return true;
|
|
||||||
|
|
||||||
ptr.getClass().getModelsToPreload(ptr, mOut);
|
ptr.getClass().getModelsToPreload(ptr, mOut);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user