mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Fixed some additional found nullptrs
This commit is contained in:
parent
2e925eddd5
commit
2d960a4b1c
36 changed files with 303 additions and 303 deletions
|
|
@ -65,7 +65,7 @@ Map::~Map()
|
|||
m_persistentState->SetUsedByMapState(NULL); // field pointer can be deleted after this
|
||||
|
||||
delete i_data;
|
||||
i_data = nullptr;
|
||||
i_data = NULL;
|
||||
|
||||
// unload instance specific navigation data
|
||||
MMAP::MMapFactory::createOrGetMMapManager()->unloadMapInstance(m_TerrainData->GetMapId(), GetInstanceId());
|
||||
|
|
@ -2127,7 +2127,7 @@ bool Map::GetHeightInRange(uint32 phasemask, float x, float y, float& z, float m
|
|||
|
||||
VMAP::IVMapManager* vmgr = VMAP::VMapFactory::createOrGetVMapManager();
|
||||
if (!vmgr->isLineOfSightCalcEnabled())
|
||||
vmgr = nullptr;
|
||||
vmgr = NULL;
|
||||
|
||||
if (vmgr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue