mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-02 01:11:23 +00:00
Remove redundant check - groundcover is not present in the CellStore
This commit is contained in:
parent
d12a0fdcb3
commit
b975f16e6b
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue