aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-31 14:26:57 -0500
committermegamage <none@none>2009-05-31 14:26:57 -0500
commitda871e2fc07ef529beea3d3e8a52518bde842775 (patch)
tree7314d7c7b03304d75d606874693cf565e95daa28 /src/game/Creature.h
parent8d1f4f9ea0beb503e2a3014abb95263e501ef1c5 (diff)
*Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go. --HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r--src/game/Creature.h2
1 files changed, 2 insertions, 0 deletions
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