mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Maps: Fixed dangling reference to a temporary variable
This commit is contained in:
@@ -15,12 +15,13 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef TRINITY_OBJECTGRIDLOADER_H
|
||||
#define TRINITY_OBJECTGRIDLOADER_H
|
||||
#ifndef TRINITY_OBJECT_GRID_LOADER_H
|
||||
#define TRINITY_OBJECT_GRID_LOADER_H
|
||||
|
||||
#include "Cell.h"
|
||||
#include "Define.h"
|
||||
#include "GridDefines.h"
|
||||
#include "Cell.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
class MapObject;
|
||||
class ObjectGuid;
|
||||
@@ -89,7 +90,7 @@ class TC_GAME_API PersonalPhaseGridLoader : public ObjectGridLoaderBase
|
||||
|
||||
private:
|
||||
uint32 _phaseId;
|
||||
ObjectGuid const& _phaseOwner;
|
||||
ObjectGuid _phaseOwner;
|
||||
};
|
||||
|
||||
//Stop the creatures before unloading the NGrid
|
||||
|
||||
Reference in New Issue
Block a user