mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Don't try to render a map in empty cells
This commit is contained in:
parent
038c5c3e82
commit
3efbb5e728
@ -119,6 +119,10 @@ void LocalMap::requestMap(MWWorld::Ptr::CellStore* cell)
|
|||||||
void LocalMap::requestMap(MWWorld::Ptr::CellStore* cell,
|
void LocalMap::requestMap(MWWorld::Ptr::CellStore* cell,
|
||||||
AxisAlignedBox bounds)
|
AxisAlignedBox bounds)
|
||||||
{
|
{
|
||||||
|
// if we're in an empty cell, don't bother rendering anything
|
||||||
|
if (bounds.isNull ())
|
||||||
|
return;
|
||||||
|
|
||||||
mInterior = true;
|
mInterior = true;
|
||||||
mBounds = bounds;
|
mBounds = bounds;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user