From da871e2fc07ef529beea3d3e8a52518bde842775 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 31 May 2009 14:26:57 -0500 Subject: *Move addcre/go functions from opvp to objmgr. *Do not save respawn time for internally added cre/go. --HG-- branch : trunk --- src/game/Creature.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/Creature.h') diff --git a/src/game/Creature.h b/src/game/Creature.h index 31c127f983f..be62ad66493 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -289,6 +289,7 @@ struct EquipmentInfo // from `creature` table struct CreatureData { + explicit CreatureData() : dbData(true) {} uint32 id; // entry in creature_template uint16 mapid; uint16 phaseMask; @@ -306,6 +307,7 @@ struct CreatureData bool is_dead; uint8 movementType; uint8 spawnMask; + bool dbData; }; struct CreatureDataAddonAura -- cgit v1.2.3