aboutsummaryrefslogtreecommitdiff
path: root/src/game/Corpse.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-11 16:14:45 -0500
committermegamage <none@none>2009-08-11 16:14:45 -0500
commit9403ff03e792154b5709a05d8dfdd7da123ce9b5 (patch)
treef6072a69420fcb17da553ef3bc5821daee895b3e /src/game/Corpse.h
parent4267816fca55b137bf4c7e4e530816dc5c4e7d43 (diff)
*Only use m_isWorldObject to check if an object is in grid or world.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Corpse.h')
-rw-r--r--src/game/Corpse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Corpse.h b/src/game/Corpse.h
index ee6556e3436..ce47b19b404 100644
--- a/src/game/Corpse.h
+++ b/src/game/Corpse.h
@@ -99,7 +99,7 @@ class Corpse : public WorldObject
private:
GridReference<Corpse> m_gridRef;
- CorpseType m_type;
+ const CorpseType m_type;
time_t m_time;
GridPair m_grid; // gride for corpse position for fast search
uint32 m_mapId; // map id for fast corpse check at packet requests and in other situations with unloaded map of corpse.