diff options
| author | megamage <none@none> | 2009-08-11 17:29:56 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-11 17:29:56 -0500 |
| commit | 892bd4057686a21cd9377b16410cb3941163b374 (patch) | |
| tree | 2fec9fc79d6ee4802ff8e172157f088df4511fe5 /src/game/Corpse.cpp | |
| parent | 36302e1d24bc7d3a73cd1362384c50224e89fba7 (diff) | |
*Fix compile in *nix.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Corpse.cpp')
| -rw-r--r-- | src/game/Corpse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp index 3b3a5fc3cc1..e15d535ca37 100644 --- a/src/game/Corpse.cpp +++ b/src/game/Corpse.cpp @@ -205,7 +205,7 @@ bool Corpse::LoadFromDB(uint32 guid, Field *fields) SetInstanceId(fields[8].GetUInt32()); m_time = time_t(fields[6].GetUInt64()); - const_cast<CorpseType>(m_type) = CorpseType(fields[7].GetUInt32()); + m_type = CorpseType(fields[7].GetUInt32()); if(m_type >= MAX_CORPSE_TYPE) { |
